typeof

typeof 运算符返回一个用来表示表达式的数据类型的字符串。 
字符串类型有:"number"、"string"、"boolean"、"object"、"function" 和 "undefined"。 
posted @ 2018-11-29 09:51  木章  阅读(87)  评论(0编辑  收藏  举报