Class: more extends
More in depth extends
stuff
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
- A
s prototype is also B
s prototype
extends
using an expression
- e.g. the inline assignment of the parent class
- or calling a function that returns the parent class