Advertisement
malski

Untitled

Apr 10th, 2020
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const array1 = [1, 2, 3];
  2.  
  3. console.log(array1.unshift(4, 5));
  4.  
  5.  
  6. console.log(array1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement