Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. why is that when I have this :
  2.  
  3. let words = ['lol' , 'lel' , 'lil'];
  4. words.push = 'lul';
  5. words.forEach(tryWords => console.log('I want' + tryWords));
  6. console.log(words);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement