replace jquery with
$ = (q) => document.querySelector(q)
$$ = (q) => document.querySelectorAll(q)
No, you're not.
jQuery returned useful collections. DOM methods return an anemic NodeList which doesn't even implement Array interface.
No, you're not.
jQuery returned useful collections. DOM methods return an anemic NodeList which doesn't even implement Array interface.