🔰inheritance
JS ⟩ value ⟩ object ⟩ class ⟩ inheritance
access properties on object literal / class's prototype object. (
super.prop
/super[expr]
are valid in any method definition in object literal / class)invoke superclass constructor. (
super(...args)
is valid in class constructors)
super - invoke/access superclass/parent's constructor/method/properties.
Last updated