Skip to content
New issue

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

Number()和new number()的区别以及造个简单的轮子 - 闲云野鹤 #13

Open
weiweitop opened this issue Sep 7, 2019 · 0 comments

Comments

@weiweitop
Copy link
Owner

https://weiweitop.fun/2018/02/03/Number()和new-Number()的区别以及造个简单的轮子/

看JavaScript文档的时候注意到了这种用法var n1 = Number(123);,冒出的第一个疑问就是和var n2 = new Number(123);有什么区别呢?

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

No branches or pull requests

1 participant