-
Notifications
You must be signed in to change notification settings - Fork 1
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
第二十题:instanceof与typeof #20
Labels
JavaScript
解释型编程语言
Comments
共有特性typeof与instacne都是js变量类型检测的运算符 typeOf在js中,typeof是检测基础类型的神器,对于所有引用类型的返回都是object; instanceOf当检测某个实例是不是当前对象的实例的时候,就到了instance大展拳脚的时刻了。 instanceOf的实现
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: