js中的数据类型检测
摘要:
js中的数据类型检测常用的方法是使用typeof,typeof运算符会返回下列6中类型之一: "number" "string" "boolean" "object" "function" "undefined" 例如: 1 <!doctype html> 2 <html lang="en"> 3 阅读全文
posted @ 2016-02-27 22:02 莫尤公子 阅读(3438) 评论(0) 推荐(0)
posted @ 2016-02-27 22:02 莫尤公子 阅读(3438) 评论(0) 推荐(0)
posted @ 2016-02-27 16:12 莫尤公子 阅读(240) 评论(0) 推荐(0)