Correct Answer: a.prototype = new b();
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
In the web browser, global objects are properties of window object.
Value of c in the following code? function a() {} var b = a(); var c = typeof(b);
In the W3C model, if you attach an anonymous function as an event handler of an element using addEventListener, how can you remove that anonymous function?
What's the output? function f(a, b, c){return true;} var a = f.length;
Which way can you use to prevent default action when a user clicks on a link on any browser?
What would be the use of the following code? function validate(field) { var valid='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; var ok=''yes''; var temp; for(var i=0;i
Which statement is correct?
In an HTML page, the form tag is defined as follows:
Consider the following JavaScript validation function: function ValidateField() { if(document.forms[0].txtId.value == '' '') {return false;} return true; } Which will call the function as soon as the user leaves the field?
Which will list the properties of a JavaScript object?