{"ScriptPreparationCode":"var array = [{items: [\u0027banana\u0027, \u0027jesus\u0027, 1212312, 2, 4, \u0027\u0431\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027sausage\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027]},\r\n {items: [\u0027banana\u0027, \u0027jesus\u0027, 1212312, 2, 4, \u0027\u0431\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027sausage\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027]},\r\n {items: [\u0027banana\u0027, \u0027jesus\u0027, 1212312, 2, 4, \u0027\u0431\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027sausage\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027, \u0027112312312\u0027, \u0027dsdsdsds\u0027, \u0027sdsdsdsd\u0027, \u0027ergergergerg\u0027]}]","TestCases":[{"Name":"reduce spread","Code":"array.reduce((acc, {items}) =\u003E {\r\n return [...acc, ...items.map((item) =\u003E item)];\r\n}, []);","IsDeferred":false},{"Name":"reduce 1","Code":"array.reduce((acc, {items}) =\u003E {\r\n\r\n const preparedItems = items.map((item) =\u003E {\r\n return {item};\r\n })\r\n\r\n acc.push(...preparedItems);\r\n\r\n return acc;\r\n }, []);","IsDeferred":false}]}