{"ScriptPreparationCode":null,"TestCases":[{"Name":"Obj / Object.entries()","Code":"let obj = {};\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n obj[i] = i;\r\n}\r\nlet tuples = Object.entries(obj).map(([k, v]) =\u003E [k, v]);","IsDeferred":false},{"Name":"Map / spread","Code":"let map = new Map();\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n map.set(i, i);\r\n}\r\nlet tuples = [...map].map(([k, v]) =\u003E [k, v]);","IsDeferred":false},{"Name":"Map / Array.from()","Code":"let map = new Map();\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n map.set(i, i);\r\n}\r\nlet tuples = Array.from(map).map(([k, v]) =\u003E [k, v]);","IsDeferred":false}]}