javascript总结

语法-作用域-没有块级作用域

  -原型链

  -变量对象-作用域链

  -声明提升

  -引用类型(Object,Array,Function,Regex,Date)

  -基本类型string,boolean,num

  -undefined,null

  -数组和字符串的一些方法

  -多种继承方式

  -闭包

  -BOM-window

      -location

      -history

  -DOM-获取

      -HTML-innerHTML和atttribute

      -CSS-dom.style.property

      -事件-冒泡捕获-事件委托-addEventListener('',function,false)-removeEventListener('',function)

      -创建DOM-见htmlDOM教程

  -JSON解析与序列化

  -Ajax

  -红宝书高级技巧

      

js   && ||  !!的灵活使用     !!将''  undefined  null 装成bool值

    

  

原文地址:https://www.cnblogs.com/miaolq/p/5773442.html