{"ScriptPreparationCode":"var data = Array.from({length: 100000}, (_, i) =\u003E i);","TestCases":[{"Name":"Map and Filter","Code":"const results = data\r\n .map((value) =\u003E value * 2)\r\n .filter((value) =\u003E value % 4 === 0);\r\n\r\nreturn results;","IsDeferred":false},{"Name":"for loop","Code":"const length = data.length;\r\nconst results = [];\r\nfor (let j = 0; j \u003C length; j\u002B\u002B) {\r\n const value = data[j];\r\n if (value % 2 === 0 \u0026\u0026 value % 4 === 0) {\r\n results.push(value * 2);\r\n }\r\n}\r\n\r\n\r\nreturn results;","IsDeferred":false}]}