THE SAGITTARIUS ME
Weaving the web, Spiderman.
Home
Programming
Design
Tech
JS30
Flexbox
ES6
Saturday, January 21, 2017
JS30 Challenge Day 18 - Reduce
Github Link
querySelectorAll(‘[data-time]’)
you can have just [expression] to select elements
querySelectorAll gives a nodelist not array
So spread the nodelist into an array
or use Array.from()
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment