Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var x = document.getElementsByClassName("fa-circle");
- console.log(x)
- //returns an HTMLCollection with 6 classes
- console.log(x[0])
- //returns undefined
- console.log(x.item(0))
- //returns null
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement