null表示无值,undefined表示一个未声明的变量,或已声明但没有赋值的变量,或一个并不存在的对象属性。

==运算符将两者看作相等。如果要区分两者,要使用===或typeof运算符。

ruanyf 发表于 2006年10月9日 ,分类:互联网

标签: No Tags

评论一下使用Trackback

当前共有留言 2 条。

  1. No. 2
    Fort Worth Home Security 说:

    I really like your writing. Thanks so much, finally a decent website with good information in it.

  2. No. 1
    Houston Home Security 说:

    Thank you and looking for more posts. I am really satisfied with this posting that you have given us. This is really a stupendous work done by you.

评论一下



获取本文评论的 RSS 2.0 Feed