{"ScriptPreparationCode":null,"TestCases":[{"Name":"for loop","Code":"let nums = [3,3,3]\r\nlet sum = 0;\r\n\r\nfor (let i = 0; i\u003C= nums.length;i\u002B\u002B){\r\nsum \u002B= nums[i]\r\n}","IsDeferred":false},{"Name":"reduce","Code":"let nums = [3, 3, 3]\r\nlet sum = nums.reduce((acc, val) =\u003E acc \u002B= val, 0)","IsDeferred":false}]}