Closed bakkot closed 5 years ago
f(a,) parses, but is not valid ES2016. We do not accept function f(a,){} or similar.
f(a,)
function f(a,){}
Debatable whether this is worth fixing, since it's legal in the next version of the spec, which I am currently working on implementing.
... But I'm gonna fix it anyway. Fix incoming.
f(a,)
parses, but is not valid ES2016. We do not acceptfunction f(a,){}
or similar.Debatable whether this is worth fixing, since it's legal in the next version of the spec, which I am currently working on implementing.
... But I'm gonna fix it anyway. Fix incoming.