Quiz on Exploring Metaprogramming
Attempt a quiz on the basic concepts of metaprogramming.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
How would you add a method to an instance instead of adding it to all instances of a class?
A.
instance.methodName = static function...
B.
ClassName.prototype.methodName = function...
C.
instance.methodName = function...
1 / 5