* Add throw expressions Stage 2 proposal: https://github.com/tc39/proposal-throw-expressions * Update babylon * Add to stage 2
6 lines
84 B
JavaScript
6 lines
84 B
JavaScript
function* test() {
|
|
(function (e) {
|
|
throw e;
|
|
})(new Error(function.sent));
|
|
}
|