-3

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?

skube
  • 5,867
  • 9
  • 53
  • 77

1 Answers1

2

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).

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335