#20JavaScript for impatient programmers (ES2021 edition)
读书笔记: 创作不易,推荐购买作者正版书籍,Buy the book
目录 (Table of contents)
I BACKGROUND
- Before you buy the book
- FAQ: book and supplementary material
- History and evolution of JavaScript
- New JavaScript features
- FAQ: JavaScript
II FIRST STEPS
- Using JavaScript: the big picture
- Syntax
- Consoles: interactive JavaScript command lines
- Assertion API
- Getting started with quizzes and exercises
III VARIABLES AND VALUES
- Variables and assignment
- Values
- Operators
IV PRIMITIVE VALUES
- The non-values
undefined
andnull
- Booleans
- Numbers
- Math
- Bigints – arbitrary-precision integers [ES2020] (advanced)
- Unicode – a brief introduction (advanced)
- Strings
- Using template literals and tagged templates
- Symbols
V CONTROL FLOW AND DATA FLOW
- Control flow statements
- Exception handling
- Callable values
- Evaluating code dynamically:
eval()
,new Function()
(advanced)
VI MODULARITY
- Modules
- Single objects
- Prototype chains and classes
VII COLLECTIONS
- Synchronous iteration
- Arrays (
Array
) - Typed Arrays: handling binary data (advanced)
- Maps (
Map
) - WeakMaps (
WeakMap
) (advanced) - Sets (
Set
) - WeakSets (
WeakSet
) (advanced) - Destructuring
- Synchronous generators (advanced)
VIII ASYNCHRONICITY
- Asynchronous programming in JavaScript
- Promises for asynchronous programming [ES6]
- Async functions
- Asynchronous iteration
IX MORE STANDARD LIBRARY
- Regular expressions (
RegExp
) - Dates (
Date
) - Creating and parsing JSON (
JSON
)