Guest User

Untitled

a guest
Dec 18th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. //use spread operator to get array from node list of h1 elements
  2. [...h1Elements] // can now use array methods like forEach
  3.  
  4. Array.prototype.forEach.apply(h1Elements, function(h1Element) {...
Add Comment
Please, Sign In to add comment