{"ScriptPreparationCode":"var largeArray = [];\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n // prevent clever optimizations for addition\r\n // binary value 1001\r\n largeArray.push(i * 9);\r\n}\r\nvar smallArray = [];\r\nfor (let i = 0; i \u003C 100; i\u002B\u002B) {\r\n // prevent clever optimizations for addition\r\n // binary value 1001\r\n smallArray.push(i * 9);\r\n}","TestCases":[{"Name":"some largeArray","Code":"let result = 0;\r\nlargeArray.some((i) =\u003E {\r\n if (i % 7 === 0) {\r\n result \u002B= i;\r\n return false;\r\n }\r\n if (i === 9999) {\r\n result \u002B= i;\r\n return true;\r\n }\r\n return false;\r\n});","IsDeferred":false},{"Name":"For...of largeArray","Code":"let result = 0;\r\nfor (const i of largeArray) {\r\n if (i % 7 === 0) {\r\n result \u002B= i;\r\n continue;\r\n }\r\n if (i === 9999) {\r\n result \u002B= i;\r\n break;\r\n }\r\n}","IsDeferred":false},{"Name":"some smallArray","Code":"let result = 0;\r\nsmallArray.some((i) =\u003E {\r\n if (i % 7 === 0) {\r\n result \u002B= i;\r\n return false;\r\n }\r\n if (i === 99) {\r\n result \u002B= i;\r\n return true;\r\n }\r\n return false;\r\n});","IsDeferred":false},{"Name":"for...of smallArray","Code":"let result = 0;\r\nfor (const i of smallArray) {\r\n if (i % 7 === 0) {\r\n result \u002B= i;\r\n continue;\r\n }\r\n if (i === 99) {\r\n result \u002B= i;\r\n break;\r\n }\r\n}","IsDeferred":false}]}