1、undefined表示没有为变量设置值或者属性不存在。null表示变量是有值的,只是其值为null

2、null == undefined返回为true,null === undefined返回为false

  

  

 

posted on 2018-05-05 11:00  dandan1122  阅读(212)  评论(0编辑  收藏  举报