{"ScriptPreparationCode":null,"TestCases":[{"Name":"Array.from","Code":"var map = new Map();\r\nfor(var i=0;i\u003C100;i\u002B\u002B) {\r\n map.set(100-i, i);\r\n}\r\nvar sortedMap = new Map(Array.from(map.entries()).sort((a, b) =\u003E a[0] - b[0]));","IsDeferred":false},{"Name":"Spread","Code":"var map = new Map();\r\nfor(var i=0;i\u003C100;i\u002B\u002B) {\r\n map.set(100-i, i);\r\n}\r\nvar sortedMap = new Map([...map.entries()].sort((a, b) =\u003E a[0] - b[0]));","IsDeferred":false}]}