{"ScriptPreparationCode":"var hasZero = [];\r\nvar withoutZero = [];\r\nfor (var i = 0; i \u003C 10000; i\u002B\u002B) {\r\n hasZero.push({ num: Math.floor(Math.random() * 1000) });\r\n withoutZero.push({ num: Math.floor(Math.random() * 1000) \u002B 1 })\r\n}","TestCases":[{"Name":"Some","Code":"var tempResult = !!Math.round(Math.random()) ? hasZero.some(v =\u003E v.num === 0) : withoutZero.some(v =\u003E v.num === 0);","IsDeferred":false},{"Name":"findIndex","Code":"var tempResult = !!Math.round(Math.random()) ? hasZero.findIndex(v =\u003E v.num === 0) \u003E -1 : withoutZero.findIndex(v =\u003E v.num === 0) \u003E -1;","IsDeferred":false}]}