Vidyalelo
JavaScript · Q152

Document Object Model And Event Handling

Programming · JavaScript · question 152

Q152

Which of the following is a single global function defined in the jQuery library?

A.
jQuery()
Answer
B.
$()
C.
Queryanalysis()
D.
None of the mentioned

Answer: Option A

Solution

Answer: Option A
Solution:
The jQuery library defines a single global function named jQuery(). This function is so frequently used that the library also defines the global symbol $ as a shortcut for it.