MDN’s new design is in Beta! A sneak peek:

More Flexible Constructors

The assignment this.base=Employee within the WorkerBee function changes the 'Workerbee' value of this.base that was set in the function Engineer. Is that on purpose? It does not seem so, although it does not really matter.

Document Tags and Contributors

 Contributors to this page: Cacky
 Last updated by: Cacky,