Skip to content

[p169] 使用ES7中的async函数 #4

Description

@jcouyang

当时的async function可能会放到ES7/ECMAScript 2016的规范中,但是发布的ES7只把

  • exponentiation (**) operator
  • Array.prototype.includes
    加入了标准

async function 在 ECMAScript 2017 草稿中

所以应该改成 使用ECMAScript 2017中的async函数

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions