{"ScriptPreparationCode":"/*your preparation JavaScript code goes here\r\nTo execute async code during the script preparation, wrap it as function globalMeasureThatScriptPrepareFunction, example:*/\r\nasync function globalMeasureThatScriptPrepareFunction() {\r\n // This function is optional, feel free to remove it.\r\n // await someThing();\r\n}","TestCases":[{"Name":"concat reduce","Code":"/*When writing async/deferred tests, use \u0060deferred.resolve()\u0060 to mark test as done*/\r\nvar params = [[ 1, 2 ], [ \u0022hello\u0022, true, 7 ]];\r\nvar other = params.reduce((acc, val) =\u003E acc.concat(val), []);","IsDeferred":false},{"Name":"concat spread","Code":"var params = [[ 1, 2 ], [ \u0022hello\u0022, true, 7 ]];\r\nvar other = [].concat(...params);","IsDeferred":false},{"Name":"flat","Code":"var params = [[ 1, 2 ], [ \u0022hello\u0022, true, 7 ]];\r\nvar other = params.flat();","IsDeferred":false}]}