Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Parser issue with anonymous functions #36

Open
thorsent opened this Issue · 0 comments

1 participant

@thorsent

I'm getting a parser error with this code:

function a(){
return function(){
for(j=0;j<3;j++) {
await{
b("test", defer());
}
}
};
}

The parsing error goes away if the function isn't anonymous. Also goes away if I eliminate the for loop. Strange.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.