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

基本类型的对象值的类型值期望返回对应对象 #2

Open
careteenL opened this issue Nov 7, 2018 · 0 comments
Open

基本类型的对象值的类型值期望返回对应对象 #2

careteenL opened this issue Nov 7, 2018 · 0 comments
Labels
Feature 新功能
Projects

Comments

@careteenL
Copy link
Owner

typeof对于基本类型的对象值判断存在以下缺陷

typeof new String('') === 'object'

期望返回为string

@careteenL careteenL added the Feature 新功能 label Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature 新功能
Projects
v1.0.0
  
Awaiting triage
Development

No branches or pull requests

1 participant