{"ScriptPreparationCode":"var arr = [...Array(1000).keys()];","TestCases":[{"Name":"With cache","Code":"let sum = 0;\r\nfor (let i = 0, arrLen=arr.length; i \u003C arrLen; i\u002B\u002B){\r\n sum \u002B= arr[i];\r\n}","IsDeferred":false},{"Name":"Without cache","Code":"let sum = 0;\r\nfor (let i = 0; i \u003C arr.length; i\u002B\u002B){\r\n sum \u002B= arr[i];\r\n}","IsDeferred":false},{"Name":"While loop (as performance reference)","Code":"let sum = 0;\r\nlet i = arr.length;\r\nwhile(i--){\r\n sum \u002B= arr[i]\r\n}","IsDeferred":false}]}