Super colossal king crab legs

Note: super is a keyword and these are special syntactic constructs. Within a class’s body, the reference of super can be either the superclass’s constructor itself, or the constructor’s prototype, super colossal king crab legs on whether the execution context is instance creation or class initialization.

See the Examples section for more details. Note that the reference of super is determined by the class or object literal super was declared in, not the object the method is called on. When setting properties through super, the property is set on this instead. Accessing super in class field declarationsuper can also be accessed during class field initialization.

The reference of super depends on whether the current field is an instance field or a static field. Note that instance fields are set on the instance instead of the constructor’s prototype, so you can’t use super to access the instance field of a superclass. Super can also be used in the object initializer notation. In this example, two objects define a method.

CATEGORIES
TAGS
Share This