第1章数据类型要点.pptxVIP

  • 2
  • 0
  • 约小于1千字
  • 约 27页
  • 2016-11-27 发布于湖北
  • 举报
JavaScript深入浅出;1;var num = 32;;number string boolean null undefined;2;;a == b;a === b;a == b;3;number string boolean null undefined;;4;类型检测;typeof(undefined) ) === “undefined” typeof(new Object() ) === “object” typeof( [1, 2] ) === “object” typeof(NaN ) === “number” typeof(null) === “object”;Why typeof null === “object”;obj instanceof Object;;Object.prototype.toString.apply([]); === “[object Array]”; Object.prototype.toString.apply(function(){}); === “[object Function]”; Object.prototype.toString.apply(null); === “[object Null]” Object.prototype.toString.apply(undefined); === “[object Undefine

文档评论(0)

1亿VIP精品文档

相关文档