The concat method on arrays is used to take two arrays and concatenate them into one. It takes as many arrays as you like - so you can concatenate many arrays at once: Array.concat(value1, value2, ...
The concat() method of {{jsxref("Array")}} instances is used to merge two or more arrays. This method does not change the existing arrays, but instead returns a new array.
I'm a software developer and writer, passionate about learning and sharing knowledge and one way I do that is through writing. What are Arrays in JavaScript? JavaScript arrays are data types that can ...
既存の配列を変更せず、新しい配列を返します。 https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/concat push ...