{"ScriptPreparationCode":"var array = [];\r\nfor (var i=0, t=10000; i\u003Ct; i\u002B\u002B) {\r\n array.push(Math.round(Math.random() * t))\r\n}\r\nvar t=0;","TestCases":[{"Name":"for let","Code":"for (let i = 0; i \u003C array.length; i\u002B\u002B) {\r\n t \u002B= array[i];\r\n}","IsDeferred":false},{"Name":"for const","Code":"for (const i = 0; i \u003C array.length; i\u002B\u002B) {\r\n t \u002B= array[i];\r\n}","IsDeferred":false},{"Name":"for var","Code":"for (var i = 0; i \u003C array.length; i\u002B\u002B) {\r\n t \u002B= array[i];\r\n}","IsDeferred":false},{"Name":"for let cached","Code":"let len=array.length;\r\nfor (let i = 0; i \u003C len; i\u002B\u002B) {\r\n t \u002B= array[i];\r\n}\r\n","IsDeferred":false},{"Name":"for const cached","Code":"const len=array.length;\r\nfor (const i = 0; i \u003C len; i\u002B\u002B) {\r\n t \u002B= array[i];\r\n}","IsDeferred":false},{"Name":"for var cached","Code":"var len=array.length;\r\nfor (var i = 0; i \u003C len; i\u002B\u002B) {\r\n t \u002B= array[i];\r\n}","IsDeferred":false},{"Name":"forEach","Code":"array.forEach(function(v, i) {\r\n t \u002B= v;\r\n});","IsDeferred":false}]}