六狼论坛's Archiver
首页
›
JavaScript
› JS 中如何区分空和false
wyx177694333
发表于 2013-1-29 08:45:56
JS 中如何区分空和false
typeof(undefined) == 'undefined' typeof(null) == 'object' typeof("") == 'string' typeof(0) == 'number' typeof(false) == 'boolean'
记下..http://www.agoit.com/images/smiles/icon_eek.gif
页:
[1]
查看完整版本:
JS 中如何区分空和false