数据类型的判断 typeof
typeof返回一个表示数据类型的字符串,返回结果包括:number、boolean、string、symbol、object、undefined、function等7种数据类型,但不能判断null、array等typeof返回一个表示数据类型的字符串,返回结果包
typeof返回一个表示数据类型的字符串,返回结果包括:number、boolean、string、symbol、object、undefined、function等7种数据类型,但不能判断null、array等typeof返回一个表示数据类型的字符串,返回结果包