Last active
February 10, 2017 14:34
-
-
Save bazuzu931/7c7c8a9a04e8034ee7cb6f6458dcc4a2 to your computer and use it in GitHub Desktop.
NodeList_sorting.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const nodeList = document.getElementsByClassName('div'); | |
[].forEach.call(nodeList, function(element) { | |
console.log(element); // get list of array with classes | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment