{"ScriptPreparationCode":"var a = [];\r\nfor (var i = 0; i \u003C= 10000; i\u002B\u002B) {\r\n a.push(i);\r\n}\r\nvar b = new Set(a);\r\nvar c = new Map(a.map(x =\u003E [x, x]));\r\nvar res = new Float32Array(a.length);","TestCases":[{"Name":"array for-of","Code":"let i = 0;\r\nfor (const x of a) { res[i] = x; i\u002B\u002B; }","IsDeferred":false},{"Name":"set for-of","Code":"let i = 0;\r\nfor (const x of b) { res[i] = x; i\u002B\u002B; }","IsDeferred":false},{"Name":"array for","Code":"for (let i = 0; i \u003C a.length; i\u002B\u002B) { res[i] = a[i]; }","IsDeferred":false},{"Name":"set values for-of","Code":"const v = b.values();\r\nlet i = 0;\r\nfor (const x of v) { res[i] = x; i\u002B\u002B; }","IsDeferred":false},{"Name":"map values for-of","Code":"const v = c.values();\r\nlet i = 0;\r\nfor (const x of v) { res[i] = x; i\u002B\u002B; }","IsDeferred":false},{"Name":"map keys for-of","Code":"const v = c.keys();\r\nlet i = 0;\r\nfor (const x of v) { res[i] = c.get(v); i\u002B\u002B; }","IsDeferred":false},{"Name":"map kv for-of","Code":"let i = 0;\r\nfor (const [x, y] of c) { res[i] = y; i\u002B\u002B; }","IsDeferred":false}]}