Javascript Classes MCQ - Quiz

  • A var t=new FilteredSet(s, {function(s) {return !(x instanceof Set);});
  • Bvar t=new FilteredSet{function(s) {return !(x instanceof Set);});
  • Cvar t=new FilteredSet(s, {function(s) {return (x instanceof Set);});
  • Dvar t=new FilteredSet(s, {function(s) {return x;});
  • APublic object, Private object, Protected object
  • BConstructor object, Function object, Destructor object
  • CConstructor object, Prototype object, Instance object
  • DInstance method, Static object, Dynamic object
  • AAssign itself to a global variable
  • BInvoke another module of the same kind
  • CReturn a namespace object
  • DInvoke another module of the same kind