typeof 返回数据类型

typeof函数主要是返回的是字符串,主要这么几种:"number"、"string"、"boolean"、"object"、"function"、"undefined"

你可能感兴趣的:(typeof 返回数据类型)