# super

A reference used to access a superclass constructor or member.

## What is **super** in JavaScript?

**super** — A reference used to access a superclass constructor or member.

```javascript
class Alert {
    text() {
        return "Alert";
    }
}

class EmailAlert extends Alert {
    text() {
        return "Email";
    }
}
```

Level: Journeyman · [More JavaScript terms at this level](https://www.ask-codey.com/glossary/subjects/javascript/journeyman)

Updated: September 27, 2026

## In other subjects

- [super in Java](https://www.ask-codey.com/glossary/super-java)

Source: https://www.ask-codey.com/glossary/super-javascript
