rbuckton/proposal-throw-expressions: Proposal for ECMAScript ‘throw’ expressions

https://github.com/rbuckton/proposal-throw-expressions

throw expression proposal. It allow to use throw as expression.

a || throw new Error("Error")



blog comments powered by Disqus