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
来源:Advanced-Frontend/Daily-Interview-Question#20
class
prototype
[[construct]]
__proto__
Function.prototype
The text was updated successfully, but these errors were encountered:
No branches or pull requests
来源:Advanced-Frontend/Daily-Interview-Question#20
class
会进行声明提升,类似 let const,进入暂时性死区class
内部采用严格模式class
所有方法(包括静态和实例方法)都是不可枚举的class
的所有方法(包括静态方法和实例方法)都没有原型对象prototype
,所以也没有[[construct]]
,不能使用 new 来调用class
class
内部无法重写类名__proto__
指向Function.prototype
,ES6 子类__proto__
指向父类The text was updated successfully, but these errors were encountered: