0
Prototype inheritance passing arguments to instance properties or methods
Can we pass arguments or parameters to a properties and methods of a constructor using prototype inheritance of other constructor? I read in a book they use .call() or .apply() to pass arguments to other constructor. I wonder if we can do it using inheritance?
1 Réponse