{"ScriptPreparationCode":"var hasZero = [];\r\nvar withoutZero = [];\r\nfor (var i = 0; i \u003C 10000; i\u002B\u002B) {\r\n var objWithZero = {\r\n key: Math.floor(Math.random() * 1000)\r\n }\r\n var objWithoutZero = {\r\n key: Math.floor(Math.random() * 1000) \u002B 1\r\n }\r\n \r\n hasZero.push(objWithZero);\r\n withoutZero.push(objWithoutZero)\r\n}","TestCases":[{"Name":"Array.some","Code":"var tempResult = !!Math.round(Math.random()) ? hasZero.some(v =\u003E v.key === 0) : withoutZero.some(v =\u003E v.key === 0);","IsDeferred":false},{"Name":"Array.filter","Code":"var tempResult = !!Math.round(Math.random()) ? hasZero.filter(v =\u003E v.key === 0) : withoutZero.filter(v =\u003E v.key === 0);","IsDeferred":false},{"Name":"Array.indexOf","Code":"var tempResult = !!Math.round(Math.random()) ? _.findIndex(hasZero, function(o) { return o === 0; }) : _.findIndex(withoutZero, function(o) { return o === 0; });","IsDeferred":false}]}