await_parse.js 254 B

1234567891011121314151617
  1. async function f() { (await f()).length }
  2. async function g() {
  3. invariant(
  4. (await driver.navigator.getUrl()).substr(-7)
  5. );
  6. }
  7. function *f(){
  8. !(yield a);
  9. }
  10. async function f() {
  11. a = !await f();
  12. }
  13. async () => {
  14. new A(await x);
  15. obj[await x];
  16. }