Skip to content

Commit

Permalink
Change argument list from [arguments] to ...arguments or ...args (#35955
Browse files Browse the repository at this point in the history
)
  • Loading branch information
sikithedev authored Sep 19, 2024
1 parent db33257 commit 1492f12
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ The `super.prop` and `super[expr]` expressions are valid in any [method definiti
## Syntax

```js-nolint
super([arguments]) // calls the parent constructor.
super()
super(arg1)
super(arg1, arg2)
super(arg1, arg2, /* …, */ argN)
super.propertyOnParent
super[expression]
```
Expand Down

0 comments on commit 1492f12

Please sign in to comment.