GeekEast / blog_comment

0 stars 0 forks source link

JavaScript中的类型判断 | 雪中印 #60

Open GeekEast opened 5 years ago

GeekEast commented 5 years ago

https://geekeast.github.io/checktypeinjs.html

Difference typeof: only judge between string, number, boolean, object, function, symbol and undefined. instanceof: can judge instance inside object, like array, but sometime not accurate. Object.pr

GeekEast commented 5 years ago

太牛逼了

GeekEast commented 5 years ago
GeekEast commented 5 years ago

可以可以