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