{"ScriptPreparationCode":"var arr = [];\r\nvar count = 1000;\r\nfor(var i = 0; i\u003Ccount; i\u002B\u002B) {\r\n arr.push(i);\r\n}","TestCases":[{"Name":"for loop","Code":"function indexOfFor(obj, list) {\r\n var i;\r\n for (i = 0; i \u003C list.length; i\u002B\u002B) {\r\n if (list[i] === obj) {\r\n return i;\r\n }\r\n }\r\n\r\n return -1;\r\n};\r\n\r\nindexOfFor(\r\n Math.ceil(Math.random() * 500), arr\r\n);","IsDeferred":false},{"Name":"indexOf","Code":"arr.indexOf(Math.ceil(Math.random() * 500));","IsDeferred":false}]}