{"ScriptPreparationCode":"\r\nvar arr = [\r\n {id: 1, name: \u0027ola1\u0027},\r\n {id: 2, name: \u0027ola2\u0027},\r\n {id: 3, name: \u0027ola3\u0027},\r\n {id: 4, name: \u0027ola4\u0027},\r\n {id: 5, name: \u0027ola5\u0027},\r\n {id: 5, name: \u0027ola5\u0027},\r\n {id: 5, name: \u0027ola5\u0027},\r\n {id: 5, name: \u0027ola5\u0027},\r\n {id: 5, name: \u0027ola5\u0027},\r\n {id: 5, name: \u0027ola5\u0027},\r\n {id: 5, name: \u0027ola5\u0027},\r\n {id: 5, name: \u0027ola5\u0027},\r\n {id: 5, name: \u0027ola5\u0027},\r\n {id: 5, name: \u0027ola5\u0027},\r\n {id: 5, name: \u0027ola5\u0027},\r\n {id: 5, name: \u0027ola5\u0027},\r\n {id: 5, name: \u0027ola5\u0027},\r\n {id: 5, name: \u0027ola5\u0027},\r\n {id: 5, name: \u0027ola5\u0027} \r\n];","TestCases":[{"Name":"FindIndex","Code":"function check(item) {\r\n return item.id === 1;\r\n}\r\narr.findIndex(check)","IsDeferred":false},{"Name":"indexOf","Code":"var last = {id: 1, name: \u0027ola1\u0027}\r\narr.indexOf(last); ","IsDeferred":false}]}