{"ScriptPreparationCode":"var arr = [];\r\nvar i = 0;\r\n\r\nwhile (i \u003C= 1E5) arr[i] = i\u002B\u002B;","TestCases":[{"Name":"Array.prototype.findIndex","Code":"const index = arr.findIndex(item =\u003E item === 1E5);","IsDeferred":false},{"Name":"For loop","Code":"var index = -1\r\nfor(var i = 0; i \u003C arr.length; i\u002B\u002B) {\r\n if(arr[i] === 1E5) {\r\n index = i;\r\n break;\r\n }\r\n}","IsDeferred":false},{"Name":"While loop","Code":"var index = -1\r\nvar i = 0\r\nwhile (arr[i] === 1E5) {\r\n\ti\u002B\u002B;\r\n}","IsDeferred":false}]}