I can't remember the detail of document.querySelectorAll; it was first proposed around the time jQuery was originally released.
element.querySelector I think was largely inspired by jQuery's usage of it (in part to make it easier to run more of jQuery's selectors natively!).
I can't remember the detail of document.querySelectorAll; it was first proposed around the time jQuery was originally released.
element.querySelector I think was largely inspired by jQuery's usage of it (in part to make it easier to run more of jQuery's selectors natively!).