I save the reference of document method:
let qs = document.querySelector;
Then try to get the element:
btnSort = qs('button');
Why does this method not work as for references to simple functions?
Aucun commentaire:
Enregistrer un commentaire