{"ScriptPreparationCode":"var a = new Map();\r\nfor (let i=0;i\u003C1000;i\u002B\u002B) {\r\n\ta.set(\u0027x\u0027\u002Bi, {p:[\u0027a\u0027, \u0027b\u0027, \u0027c\u0027]});\r\n}","TestCases":[{"Name":"Array from with map \u002B flat","Code":"const res = Array.from(a.values(), (val) =\u003E val.p).flat();","IsDeferred":false},{"Name":"Array push \u002B flat","Code":" const b = [];\r\n for (let v of a.values()) {\r\n b.push(v.p);\r\n }\r\n const res = b.flat();","IsDeferred":false},{"Name":"spread","Code":" let res = [];\r\n for (let v of a.values()) {\r\n res = [...res, ...v.p];\r\n }","IsDeferred":false}]}