Document.querySelector vs. document.getElement | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 11

Document.querySelector vs. document.getElement

When is it best to use one or the other ?

9th Apr 2019, 2:02 PM
KaešŸ™ŒšŸ½ā˜•ļø
KaešŸ™ŒšŸ½ā˜•ļø - avatar
1 Resposta
+ 5
Recent researches by sololearners here have proved that getElement.... are more faster that the querySelector. So try to use that more!
9th Apr 2019, 2:13 PM
Seniru
Seniru - avatar