Chinaunix

标题: JavaScript的typeof使用方法 [打印本页]

作者: 三里屯摇滚    时间: 2011-12-11 16:40
标题: JavaScript的typeof使用方法
JavaScript的typeof使用方法












Java代码
  1. 1.typeof null = "object";   
  2. 2.typeof undefined = 'undefined';   
  3. 3.typeof Array = 'object';   
  4. 4.typeof function = 'function';
复制代码

作者: 如果有一天21    时间: 2011-12-24 20:13
谢谢分享  希望于楼主多多交流




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2