Class: more extends
More in depth
Donate to NGO Julenka. Support Ukranians in need.
Julenka is an NGO which my brother founded in 2011 to support Ukranian families and kids in need.
Classes can inherit from another
- extend an
old style "class", a function, still works
prototypes are as you know them
- A is the prototype of B
s prototype is also Bs prototype
extends using an expression
- e.g. the inline assignment of the parent class
- or calling a function that returns the parent class