summaryrefslogtreecommitdiff
path: root/js/src/builtin/Classes.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/builtin/Classes.js')
-rw-r--r--js/src/builtin/Classes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/builtin/Classes.js b/js/src/builtin/Classes.js
index d0f20b5fd7..24841d605e 100644
--- a/js/src/builtin/Classes.js
+++ b/js/src/builtin/Classes.js
@@ -5,7 +5,7 @@
var DefaultDerivedClassConstructor =
class extends null {
constructor(...args) {
- super(...allowContentSpread(args));
+ super(...allowContentIter(args));
}
};
MakeDefaultConstructor(DefaultDerivedClassConstructor);