MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Javascript
Classes And Modules
Quiz 4
1
2
3
Q.1
If A is the superclass and B is the subclass, then subclass inherting the superclass can be represented as
B=inherit(A);
B=A.inherit();
B.prototype=inherit(A);
B.prototype=inherit(A.prototype);
Q.2
The snippet that filters the filtered set is
var t=new FilteredSet(s, {function(s) {return !(x instanceof Set);});
var t=new FilteredSet{function(s) {return !(x instanceof Set);});
var t=new FilteredSet(s, {function(s) {return (x instanceof Set);});
var t=new FilteredSet(s, {function(s) {return x;});
Q.3
The method that can be used to create new properties and also to modify the attributes of existing properties is
Object.defineProperty()
Object.defineProperties()
Both Object.defineProperty() and Object.defineProperties()
None of the mentioned
0 h : 0 m : 1 s
1
2
3
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page