{"ScriptPreparationCode":"var arrN = new Array(15000);\r\n\r\nfor (var i = 0; i \u003C 15000; i\u002B\u002B) {\r\n\tarrN[i] = { id: i };\r\n}\r\n\r\nvar randN = Math.floor(Math.random() * 15000);\r\n\r\nvar arrP = new Array(15000);\r\n\r\nfor (var i = 0; i \u003C 15000; i\u002B\u002B) {\r\n\tarrP[i] = i;\r\n}\r\n\r\nvar randP = Math.floor(Math.random() * 15000);","TestCases":[{"Name":"findIndex non-primitive","Code":"var indexN = arrN.findIndex((num) =\u003E num[\u0027id\u0027] === randN);","IsDeferred":false},{"Name":"findIndex primitive","Code":"var indexP = arrP.findIndex((num) =\u003E num === randP);","IsDeferred":false}]}