{"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}\r\nvar numToSearch = Math.round(Math.random());","TestCases":[{"Name":"some","Code":"var tempResult = !!numToSearch ? hasZero.some(v =\u003E v === 0) : withoutZero.some(v =\u003E v === 0);","IsDeferred":false},{"Name":"while","Code":"let tempResult = false;\r\nlet i = 0;\r\nwhile (tempResult == false \u0026\u0026 hasZero[i] !== undefined) {\r\n if (hasZero[i] === 0) {\r\n tempResult = true;\r\n }\r\n i\u002B\u002B;\r\n}","IsDeferred":false}]}