File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -565,6 +565,19 @@ document = { querySelectorAll: function(s) {
565565 handle. That means you can't use equality to compare `Node`
566566 objects. I'll ignore that but a real browser wouldn't.
567567
568+ :: : {.further}
569+ Early browsers didn't offer `querySelectorAll`, only `getElementById`
570+ and `getElementsByTagName`, and the [earliest versions][gEBS] of
571+ ` querySelectorAll` were [JavaScript re-implementations][jSelect],
572+ especially in the popular and influential [jQuery
573+ library](https://jquery.org). But since browsers *already* implement
574+ CSS selectors, it only makes sense to expose that implementation to
575+ JavaScript directly.
576+ :: :
577+
578+ [gEBS] : https://simonwillison.net/2003/Mar/25/getElementsBySelector/
579+ [jSelect] : https://johnresig.com/blog/selectors-in-javascript/
580+
568581Wrapping Handles
569582================
570583
You can’t perform that action at this time.
0 commit comments