Q1191. What is the `extends` keyword in JavaScript, and how is it used for inheritance?
The `extends` keyword is used in JavaScript to create a new class that inherits from an existing class. It is used in the class declaration syntax, like this: ``` class C...