Fill in the blank
// inherit from a base class
class Admin ____ User {
constructor(n) { super(n); }
}
Answer: extends
extends sets up the prototype chain to the base class.
Play Problem Solving ▸
// inherit from a base class
class Admin ____ User {
constructor(n) { super(n); }
}
Answer: extends