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