JavaScript | JavaScript OOP | Question 4

Last Updated :
Discuss
Comments

What does the extends keyword do in JavaScript?

Allows one class to inherit from another class

Creates a new instance of a class

Binds a method to a class

Defines static methods in a class

Share your thoughts in the comments