摘要: 1、typeof null == “object” ,所以不能通过typeof ~ == "object",判断为对象 ; a、判断为null的,直接~ null;b、判断对象(~ && typeof ~ == "object"),因为null为假 2、prototype和__proto__的概念 阅读全文
posted @ 2017-10-05 20:45 Mr.方 阅读(215) 评论(0) 推荐(0) 编辑