{"ScriptPreparationCode":null,"TestCases":[{"Name":"Array flat","Code":"const arrayA = [\u0027hi\u0027, \u0027hi\u0027, \u0027hi\u0027, \u0027hi\u0027];\r\nconst arrayB = [\u0027hi\u0027, \u0027hi\u0027, \u0027hi\u0027, \u0027hi\u0027];\r\nconst flattened = [ arrayA, arrayB ].flat();\r\n\r\nconsole.log(flattened);","IsDeferred":false},{"Name":"Lodash flatten","Code":"const arrayA = [\u0027hi\u0027, \u0027hi\u0027, \u0027hi\u0027, \u0027hi\u0027];\r\nconst arrayB = [\u0027hi\u0027, \u0027hi\u0027, \u0027hi\u0027, \u0027hi\u0027];\r\nconst flattened = _.flatten([ arrayA, arrayB ]);\r\n\r\nconsole.log(flattened);","IsDeferred":false}]}