From 1492f12d54c344b099dc49fe291c24c8b41abd90 Mon Sep 17 00:00:00 2001 From: Muaz Sikiric <41543403+sikithedev@users.noreply.github.com> Date: Thu, 19 Sep 2024 18:23:30 +0200 Subject: [PATCH] Change argument list from [arguments] to ...arguments or ...args (#35955) --- .../en-us/web/javascript/reference/operators/super/index.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/files/en-us/web/javascript/reference/operators/super/index.md b/files/en-us/web/javascript/reference/operators/super/index.md index 4fac7dd69da5a36..159ee8c0c005211 100644 --- a/files/en-us/web/javascript/reference/operators/super/index.md +++ b/files/en-us/web/javascript/reference/operators/super/index.md @@ -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] ```