UNPKG

babel-plugin-async-to-promises

Version:

Transpile ES7 async/await to vanilla ES6 Promise chains

12 lines (10 loc) 158 B
function test() { var i; return Promise.resolve().then(function () { i = 0; test: while (i < 10) { i++; continue test; } }); }