码迷,mamicode.com
首页 > Web开发 > 详细

js typeof

时间:2016-07-06 17:49:33      阅读:151      评论:0      收藏:0      [点我收藏+]

标签:

var message = "some thing";

alert(typeof message); // string

alert(typeof 95); // number

alert(message == undefined) // false

alert(null==undefined) // true

typeof (message) 规范写法

js typeof

标签:

原文地址:http://www.cnblogs.com/AlvinCrash/p/5647365.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!