{"ScriptPreparationCode":"var object = {\r\n a: {\r\n foo: \u0027bar\u0027\r\n },\r\n b: {\r\n foo: \u0027bar\u0027\r\n },\r\n c: {\r\n foo: \u0027bar\u0027\r\n },\r\n d: {\r\n foo: \u0027bar\u0027\r\n },\r\n e: {\r\n foo: \u0027bar\u0027\r\n },\r\n f: {\r\n foo: \u0027bar\u0027\r\n },\r\n g: {\r\n foo: \u0027bar\u0027\r\n },\r\n}","TestCases":[{"Name":"Array.map()","Code":"const array = Object.values(object).map(({ foo }) =\u003E foo)","IsDeferred":false},{"Name":"Array.reduce().concat()","Code":"const array = Object.values(object).reduce((arr, { foo }) =\u003E {\r\n return arr.concat(foo);\r\n}, []);","IsDeferred":false},{"Name":"Array.reduce().push()","Code":"const array = Object.values(object).reduce((arr, { foo }) =\u003E {\r\n arr.push(foo);\r\n return arr\r\n}, []);","IsDeferred":false},{"Name":"Array.reduce() spread","Code":"const array = Object.values(object).reduce((arr, { foo }) =\u003E {\r\n return [...arr, foo];\r\n}, []);","IsDeferred":false}]}