关键字/表达式/运算符 window document
变量和常量 - var / let / const
数据类型
- 简单数据类型:number / string / boolean / undefined / null / symbol
- 复杂数据类型:object
- typeof
运算符
- && || ! ++ --
- 优先级和结合性
- 表达式
分支和循环结构
- if...else... / switch...case...default...
- while / do...while / for
全局函数
- parseInt / parseFloat / isNaN
- encodeURI / decodeURI
- eval
内置类型对象
- 数组:push / unshift / pop / shift / splice / sort / forEach / slice
- 时间日期:Date - getFullYear / getMonth / getDate / getDay / getHours / getMinutes / getSeconds
- 字符串:substring / chatAt / concat / trim / match / replace
- 正则表达式:/^\w{6,20}$/gi - test
- 其他:
~ Math:sin / cos / pow / random / log
~ JSON:parse / stringify
类和对象
- JSON - {} - 创建对象的字面量语法 / 交换数据的格式
- 构造器函数
- class关键字
BOM - window
属性
- document / location / history / navigator / screen
- localStorage / sessionStorage
- innerWidth / innerHeight / pageXOffset / pageYOffset
方法:
- setTimeout / setInterval / clearTimeout / clearInterval
- alert / confirm / prompt / print / close / open
- scrollTo / scrollBy / moveTo / moveBy / resizeTo / resizeBy
Microsoft Internet Explorer - 把IE浏览器跟Windows操作系统捆绑销售
Netscape Navigator - Mozilla - FireFox
摩尔定律 - Intel创始人 - 每18个月集成电路的集成度就会翻番 - 硬件性能会翻倍
1946 - ENIAC - 5000/s
安迪-比尔定义 - 安迪给你的,比尔都会把它拿走
反摩尔定律 - Google - 科技公司不能靠量来维持产值