Skip to content
🧠 Master React Package Creation — Claim Your Spot

Edit It: Use the 'super' keyword to access the parent class's instance field

Home>super Keyword in JavaScript>Edit It: Use the 'super' keyword to access the parent class's instance field

Edit It: Use the 'super' keyword to access the parent class's instance field

This code shows how to use the super keyword to access a parent class's instance field.

See it on StackBlitz