We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// 不是全局对象,需要如下代码获取 Object.getPrototypeOf(async function(){}).constructor
Function
属于 数据属性,值为 1.属性描述符为 { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }
{ [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }
初始值为 %AsyncFunction.prototype%。属性描述符为 { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }
{ [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }
一般情况下,我们不会直接用 AsyncFunction 去创建异步函数,我们更多的是直接采用 #86 中定义的写法去创建异步函数。
AsyncFunction
The text was updated successfully, but these errors were encountered:
No branches or pull requests
AsyncFunction对象
构造器
Function
子类AsyncFunction ( p1, p2, … , pn, body )
构造器上的属性
AsyncFunction.length
属于 数据属性,值为 1.属性描述符为
{ [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }
AsyncFunction.prototype
初始值为 %AsyncFunction.prototype%。属性描述符为
{ [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }
原型对象上的属性
注意
一般情况下,我们不会直接用
AsyncFunction
去创建异步函数,我们更多的是直接采用 #86 中定义的写法去创建异步函数。The text was updated successfully, but these errors were encountered: