MCQs > Website Designing & Development > BackBone.js > Which models can be created by extending Backbone?

BackBone.js MCQs

Which models can be created by extending Backbone?

Answer

Correct Answer: var Todo = Backbone.Model.extend({}); var todo1 = new Todo(); console.log(JSON.stringify(todo1)); var todo2 = new Todo({ title: 'Check the attributes of both model instances in the console.', completed: true }); console.log(JSON.stringify(todo2));

Explanation:

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

BackBone.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

BackBone.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it