Open In App

Web technologies Questions | jQuery Quiz | Set-2 | Question 5

Which of the below method is responsible for merging the two or more objects into the first object ?
(A) check() Method
(B) find() Method
(C) obj() Method
(D) extend() Method

Answer: (D)
Explanation: This extends() Method in jQuery is used to merge the contents of two or more objects together into the first object. Here it takes 4 parameters deep, target, object 1, and object N. And the return type of this is the merged object.
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :