SHARE
TWEET

Untitled

a guest Jan 12th, 2017 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var arr1 = [0, 1, 2];
  2. var arr2 = [3, 4, 5];
  3.  
  4. arr1.push(...arr2); // 6
  5.  
  6. console.log(arr1); // [0, 1, 2, 3, 4, 5]
RAW Paste Data
Top