I'm wondering why I can use $('.myelement')
in Google Chrome console? I thought that was only a jQuery thing.
Is this part of JavaScript?
I'm wondering why I can use $('.myelement')
in Google Chrome console? I thought that was only a jQuery thing.
Is this part of JavaScript?
The $ function is provided by the Chrome Dev Tools API although it will be overwritten if the page provides a global $
variable (e.g. by loading jQuery).
It is not part of JavaScript (nor are any DOM manipulation functions).