{"ScriptPreparationCode":null,"TestCases":[{"Name":"Concat and Push - Map","Code":"var init=[10,11,12,13];\r\nvar params = [{val: [1,2]}, {val: [3,4]}, {val: [5,6]}, {val: [7,8]}];\r\n\r\ninit.push(...params.map(x=\u003Ex.val));\r\nconsole.log(init);","IsDeferred":false},{"Name":"Concat and Push - FlatMap","Code":"var init=[10,11,12,13];\r\nvar params = [{val: [1,2]}, {val: [3,4]}, {val: [5,6]}, {val: [7,8]}];\r\n\r\ninit.push(...(params.flatMap(x =\u003E x.val)));\r\nconsole.log(init);","IsDeferred":false},{"Name":"Concat and Assign - FlatMap","Code":"var init=[10,11,12,13];\r\nvar params = [{val: [1,2]}, {val: [3,4]}, {val: [5,6]}, {val: [7,8]}];\r\n\r\ninit = init.concat(...params.flatMap(x=\u003Ex.val));\r\nconsole.log(init);","IsDeferred":false},{"Name":"Concat and Assign - Map","Code":"var init=[10,11,12,13];\r\nvar params = [{val: [1,2]}, {val: [3,4]}, {val: [5,6]}, {val: [7,8]}];\r\n\r\ninit = init.concat(...params.map(x=\u003Ex.val));\r\nconsole.log(init);","IsDeferred":false}]}