# JS

<https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript>

## 数据类型

- Number
- BigInt
- String
- Boolean
- Symbol
- Object
  - Function
  - Array
  - Date
  - RegExp
- null
- undefined

还有 Error 对象，用于运行时抛出错误。

## 闭包

A closure is the combination of a function and the scope object in which it was created. Closures let you save state --- as such, they can often be used in place of objects.

1. 以《JavaScript 高级程序设计》作为母本学习 JS
2. <http://jstherightway.org/>
3. The Modern JavaScript Tutorial: <https://javascript.info/>

## 参考资料

### 官方标准

- [ECMAScript® Latest Language Specification](https://262.ecma-international.org/) or <https://tc39.es/ecma262/>

### 系统教程

- [React - web.dev](https://web.dev/react/)

### 别人的规划

- <https://github.com/upupming/frontend-learning-map>
- <https://roadmap.sh/frontend>


相关：[[js-the-right-way|js-the-right-way]]

相关：[[js-test|js-test]]

相关：[[js-expressjs|js-expressjs]]
