Single Choice Easy

QWhich of the following is an example of a factory function?

ID: #5224 Javascript Scripted HTTP MCQ 184 views
Question Info
#5224Q ID
EasyDifficulty
Javascript Scripted HTTP MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A $()
  • B jQuery()
  • C Queryanalysis()
  • D onclick()
Correct Answer

Explanation

jQuery() is a factory function, not a function Object() { [native code] }:
it returns a newly created object but does not use the new keyword.
Many methods for operating on the sets of elements represented by jQuery objects are defined.

Share This Question

Challenge a friend or share with your study group.