Skip to content

Instantly share code, notes, and snippets.

@ABIDULLAH786
Created August 5, 2023 15:52
let arr1 = [1, 2, 3];
let arr2 = [4, 5];
let arr3 = [6, 7];
let combinedArray = arr1.concat(arr2, arr3);
console.log(combinedArray); // Output: [1, 2, 3, 4, 5, 6, 7]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment