explain Array.prototype.concat()
explain Array.prototype.concat()
1 Replies, 902 Views
The Array.prototype.concat() method is used to merge two or more arrays. This method does not change the existing arrays, but instead returns a new array. The new array contains the elements from the two arrays that were merged.
(This post was last modified: 11-15-2023, 09:48 AM by mohan.)
|
Users browsing this thread: 1 Guest(s)