{"ScriptPreparationCode":"var source = {\r\n a: 0,\r\n b: 1,\r\n c: 2,\r\n d: 3,\r\n e: 4,\r\n f: 5,\r\n various: null\r\n}\r\n\r\nvar select = [\u0027a\u0027, \u0027b\u0027, \u0027c\u0027, \u0027d\u0027, \u0027e\u0027, \u0027f\u0027]\r\n\r\nvar selectReduceAssign = () =\u003E\r\n select.reduce(\r\n (accumulator, current) =\u003E\r\n Object.assign(accumulator, { [current]: source[current] }),\r\n {}\r\n )\r\n\r\nvar selectReduceSpread = () =\u003E\r\n select.reduce(\r\n (accumulator, current) =\u003E\r\n ({ ...accumulator, [current]: source[current] }),\r\n {}\r\n )\r\n\r\nvar selectReduceAddExplicitly = () =\u003E\r\n select.reduce(\r\n (accumulator, current) =\u003E\r\n {\r\n accumulator[current] = source[current]\r\n return accumulator\r\n },\r\n {}\r\n )\r\n\r\nvar selectPick = ({ a, b, c, d, e, f }) =\u003E ({ a, b, c, d, e, f })\r\n","TestCases":[{"Name":"selectReduceAssign","Code":"selectReduceAssign()","IsDeferred":false},{"Name":"selectReduceSpread","Code":"selectReduceSpread()","IsDeferred":false},{"Name":"selectReduceAddExplicitly","Code":"selectReduceAddExplicitly()","IsDeferred":false},{"Name":"selectPick","Code":"selectPick(source)","IsDeferred":false}]}