js中的null 与undefined

null:对象为空时

undefined:基本类型为空时    

原文地址:https://www.cnblogs.com/shenming/p/4285187.html