UNPKG

babel-plugin-async-to-promises

Version:

Transpile ES7 async/await to vanilla ES6 Promise chains

8 lines (7 loc) 145 B
function test() { return Promise.resolve().then(function () { return a() || b(); }).then(function (_resp) { return _resp.ok; }); }