Open hzoo opened 5 years ago
Note that this proposal led to significant concerns from implementers when it was presented at TC39. I imagine it could be nontrivial to implement in Babel for the same reasons.
I don't think that it would be difficult; we would reuse the same logic we already have for disambiguating async arrows.
I don't mean in parsing, but to make it so that return, break and continue inside block parameters do so for the outer function.
Yeah, I just wanted to make an issue for each proposal but most of them we probably don't want to implement yet.
We need to automate this work lol, it's always out of date of course
Block params is lovely, i hope babel will support parsing this proposal in recent further
https://github.com/samuelgoto/proposal-block-params