1.Concat- used to join array to the given array .it returns a new array object that contains two or more merged array. const arr1 = [1, 2, 3]; const arr2 = [8, 5, 4]; const arr3=[6, 7, 9] ; console.log(arr1.concat(arr2)); output:- [ 1, 2, 3, 8, 5, 4...
vishalkatkar.hashnode.dev3 min read
No responses yet.