{"ScriptPreparationCode":null,"TestCases":[{"Name":"Arrays","Code":"const arr = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20];\r\n\r\narr.filter(n =\u003E n % 2 === 0).map(n =\u003E ({ result: n })).forEach(n =\u003E console.log(\u0022n = \u0022, n));","IsDeferred":false},{"Name":"Iterator","Code":"const arr = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20];\r\n\r\nconst iterator = Iterator.from(arr);\r\niterator.filter(n =\u003E n % 2 === 0).map(n =\u003E ({ result: n })).forEach(n =\u003E console.log(\u0022n = \u0022, n));","IsDeferred":false}]}