Skip to content
Snippets Groups Projects
Commit 1b04b7db authored by Brian Terlson's avatar Brian Terlson
Browse files

Merge pull request #180 from smikes/178-generator-super

add () to super call
parents 97ad311a ca47fc46
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment