Skip to main content

Edit It: What happens if you access 'this' before 'super' in a derived class's constructor?

This code shows that using the keyword this before super in a derived class's constructor will cause the browser to throw a ReferenceError.

See it on StackBlitz