{"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\nconsole.log(flattened);","IsDeferred":false}]}