tc39 / proposal-do-expressions

Proposal for `do` expressions
MIT License
1.11k stars 14 forks source link

Slightly better first example #35

Open elibarzilay opened 5 years ago

elibarzilay commented 5 years ago

Minor change, which hopefully better clarifies the need for an in-expression scope, which I think is the more important point here. (The other examples are all just translations of ? : into ifs...)

(Note: this is a result of my comment on this video.)