How can properties be added to an object class?
Correct Answer: With the prototype property
Explanation:
Note: This Question is unanswered, help us to find answer for this one
JavaScript Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More JavaScript MCQ Questions
Which choice will change the source of the image to 'image2.gif' when a user clicks on the image?
Which Array method in JavaScript runs a function on every item in the Array and collects the result from previous calls, but in reverse?
What would be the value of 'ind' after execution of the following code? var msg='Welcome to ExpertRating' var ind= msg.substr(3, 3)
Which are true regarding the 'this' keyword in JavaScript?
Which will list the properties of a JavaScript object?
Value of document.referrer if a user opens the page from a bookmark?
What's the output? function a() { alert('Outer function!'); return function(){ alert('Inner function!'); }; } var a = a(); a();
Result of type of (Infinity); statement?
Which event object properties can you use to check whether that event is allowed to prevent default behavior or not?
Which way can you use to prevent default action when a user clicks on a link on any browser?