chaojidan

导航

2014年11月26日 #

第二课:判断js变量的类型以及domReady的原理

摘要: 1.类型的判断: js五种简单数据类型有:null,undefined,boolean,number,string。 还有复杂的数据类型:Object,Function,RegExp,Date,自定义的对象,比如:Person等。 typeof一般用来判断boolean,number,stri... 阅读全文

posted @ 2014-11-26 10:57 chaojidan 阅读(603) 评论(0) 推荐(0) 编辑