The reason why I left only the ID and Class selectors is because they are the fastest.
Here are some test cases: http://jsperf.com/getelementsbyclassname-vs-queryselectorall...
Here are some test cases: http://jsperf.com/getelementsbyclassname-vs-queryselectorall...
No comments yet.