mirror of https://github.com/tc39/test262.git
add () to super call
This commit is contained in:
parent
ba3be4a575
commit
ca47fc46de
|
@ -12,6 +12,6 @@ negative: SyntaxError
|
|||
---*/
|
||||
|
||||
var obj = {
|
||||
*foo(a = super) {
|
||||
*foo(a = super()) {
|
||||
}
|
||||
};
|
||||
|
|
|
@ -13,6 +13,6 @@ negative: SyntaxError
|
|||
|
||||
var obj = {
|
||||
*foo(a) {
|
||||
super;
|
||||
super();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue