{"ScriptPreparationCode":"var map = new Map();\r\nfor (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n map.set(i, i);\r\n}\r\n","TestCases":[{"Name":"spread / map","Code":"let tuples = [...map].map(([k, v]) =\u003E [k, v]);","IsDeferred":false},{"Name":"Array.from / entries() / map","Code":"let tuples = Array.from(map.entries()).map(([k, v]) =\u003E [k, v]);","IsDeferred":false},{"Name":"Array.from / direct / map","Code":"let tuples = Array.from(map).map(([k, v]) =\u003E [k, v]);","IsDeferred":false},{"Name":"Array.from / direct / nomap","Code":"let tuples = Array.from(map, ([k, v]) =\u003E [k, v]);","IsDeferred":false},{"Name":"for loop","Code":"let tuples = [];\r\nfor (let [k, v] of map) {\r\n tuples.push([k, v]);\r\n}","IsDeferred":false}]}