14.
Which keyword is used to implement inheritance in ES6?
implement
inherit
super
extends
Correct: D
The extends keyword is used to implement inheritance in ES6. It allows a child class to inherit properties and methods from a parent class. The child class can then extend or modify the functionality inherited from the parent class. The super keyword is used to call the constructor of the parent class within the child class's constructor. Example: class ChildClass extends ParentClass