Skip to content
Snippets Groups Projects
Commit ca47fc46 authored by smikes's avatar smikes
Browse files

add () to super call

parent ba3be4a5
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,6 @@ negative: SyntaxError ...@@ -12,6 +12,6 @@ negative: SyntaxError
---*/ ---*/
var obj = { var obj = {
*foo(a = super) { *foo(a = super()) {
} }
}; };
...@@ -13,6 +13,6 @@ negative: SyntaxError ...@@ -13,6 +13,6 @@ negative: SyntaxError
var obj = { var obj = {
*foo(a) { *foo(a) {
super; super();
} }
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment