3 ms·
Hi Paul... any light to shed on this? http://stackoverflow.com/questions/8981211/what-is-the-source-of-the-double-dollar-sign-selector-query-function-in-chrome
by minikomi 15y ago
Hi Paul... any light to shed on this? http://stackoverflow.com/questions/8981211/what-is-the-source-of-the-double-dollar-sign-selector-query-function-in-chrome http://stackoverflow.com/questions/8981211/what-is-the-sourc... I think it's the right answer, but just asking to be sure!
- paulirish 15y agoHeh. That's just building in the aliases that originated in Prototype.js, which offered $ as gEBId sugar and $$ as one for querySelectorAll. Opera actually decided to go with $ as querySelectorAll, a la jQuery, which IMO makes a bit more sense. This is one of the ways that Prototype.js had a huge effect.