js笔试题小试牛刀(1)

nan是非数字类型,返回的是一个非数值的类型 alert(typeof (NaN)) ——> number alert(typeof 2) ——>number alert(typeof {})——> object alert(typeof [])——> object alert(typeof null) ——> object alert (typeof undefined) —> undefine
相关文章
相关标签/搜索