JS 教程
latest
  • 导论
  • 基本语法
  • 进阶语法
    • 数据类型转换
    • 定时器
    • this 关键字
    • Class 的基本语法
    • Class 的继承
  • 浏览器环境
  • stdlib 标准库
JS 教程
  • Docs »
  • 进阶语法

进阶语法¶

  • 数据类型转换
    • 强制转换
    • 自动转换
  • 定时器
    • setTimeout()
    • setInterval()
    • clearTimeout(),clearInterval()
    • 实例:debounce 函数
    • 运行机制
    • setTimeout(f, 0)
    • 参考链接
  • this 关键字
    • 涵义
    • 使用场合
    • 使用注意点
    • 绑定 this 的方法
  • Class 的基本语法
    • 简介
    • 严格模式
    • constructor 方法
    • 类的实例对象
    • Class 表达式
    • 不存在变量提升
    • 私有方法和私有属性
    • this 的指向
    • name 属性
    • Class 的取值函数(getter)和存值函数(setter)
    • Class 的 Generator 方法
    • Class 的静态方法
    • Class 的静态属性和实例属性
    • new.target 属性
  • Class 的继承
    • 简介
    • Object.getPrototypeOf()
    • super 关键字
    • 类的 prototype 属性和__proto__属性
    • 原生构造函数的继承
    • Mixin 模式的实现
Next Previous

© Copyright 2018, Vic Wang Revision 6dea4c47.

Built with Sphinx using a theme provided by Read the Docs.