{"ScriptPreparationCode":"var indices = [];\r\nvar objects = [];\r\nfor (var i = 0; i \u003C 10000; i\u002B\u002B) {\r\n var idx = Math.floor(Math.random() * 1000);\r\n indices.push(idx)\r\n objects.push({\r\n index: idx\r\n });\r\n}\r\n\r\nvar idx = Math.floor(Math.random() * 1000);","TestCases":[{"Name":"IndexOf","Code":"var tempResult = indices.indexOf(idx);","IsDeferred":false},{"Name":"find","Code":"var tempResult = objects.find(v =\u003E v.index === idx);","IsDeferred":false}]}