{"ScriptPreparationCode":"numbers = [];\r\nlet _idx = 1000;\r\nwhile(_idx-- \u003E 0) {\r\n numbers.push(_idx);\r\n}\r\n\r\nlet acc = 0;","TestCases":[{"Name":"1","Code":"acc = 0;\r\nfor(let i=0; i\u003C numbers.length; i\u002B\u002B){\r\n if(numbers%2 === 0) {\r\n acc \u002B= numbers[i];\r\n }\r\n}","IsDeferred":false},{"Name":"2","Code":"acc = 0;\r\nnumbers\r\n .filter(n =\u003E n%2 === 0)\r\n .reduce((acc, cur)=\u003E acc \u002B= cur, 0);","IsDeferred":false}]}