Answers for "javascript array concat spread operator"

4

javascript array concat spread operator

const arr1 = [1,2,3]
const arr2 = [4,5,6]
const arr3 = [...arr1, ...arr2] //arr3 ==> [1,2,3,4,5,6]
Posted by: Guest on June-12-2020

Code answers related to "javascript array concat spread operator"

Code answers related to "Javascript"

Browse Popular Code Answers by Language