-
-
Save himeshvats19/8aa0e27823359dcc8d9a44d5dcb57d9b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let arr = [1,2,3]; | |
let arr2 = [4,5]; | |
arr = arr.concat(arr2); | |
console.log(arr); // [ 1, 2, 3, 4, 5 ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment