UNPKG

babel-plugin-async-to-promises

Version:

Transpile ES7 async/await to vanilla ES6 Promise chains

10 lines (8 loc) 133 B
/* eslint no-constant-condition: 0 */ async function test() { while (true) { if (await a()) { return "now"; } } }