MCQs > IT & Programming > JQuery > Which is correct to create default options for plugin, provided we pass 'options' to function?

JQuery MCQs

Which of the following is correct to create default options for plugin, provided we pass 'options' to function?

Answer

Correct Answer: var settings = $.extend({ text : 'Hello, World!', color : red, }, options);

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JQuery Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JQuery Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it