发新话题
打印

typeof用来检测变量类型

typeof用来检测变量类型

typeof可能取值: "number," "string," "boolean," "object," "function," 和 "undefined."
null,[...],{...} 得值 object,  其中null 为object 应引起注意!

TOP

发新话题