DEV Community

Discussion on: Getting DOM Elements using JavaScript

Collapse
 
aaron_powell profile image
Aaron Powell

I swapped from getById/Classname to query selector a while ago. Do you know if Query selector is faster/more efficient? Thanks!