explain Array.prototype.concat()
explain Array.prototype.concat()
1 Replies, 463 Views
?
(This post was last modified: 11-15-2023, 09:41 AM by mohan.)
Array.prototype.concat() is a method used to merge two or more arrays. It 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. |
Users browsing this thread: 1 Guest(s)