Justin Ridgewell 23f98a753a Add throw expressions (#6325)
* Add throw expressions

Stage 2 proposal: https://github.com/tc39/proposal-throw-expressions

* Update babylon

* Add to stage 2
2017-09-27 16:15:44 -04:00

6 lines
83 B
JavaScript

function* test() {
(function (e) {
throw e;
})(new Error(...arguments));
}