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
关于New
function createNew(fn, ...arg) { let obj = Object.create(fn.prototype) let result = fn.apply(obj, arg) return obj instanceof Object ? obj : result }
new 构建函数 --》 返回实例 --》实例可访问原型对象
The text was updated successfully, but these errors were encountered:
No branches or pull requests
关于New
new 构建函数 --》 返回实例 --》实例可访问原型对象
The text was updated successfully, but these errors were encountered: