Part 1 The JavaScript language¶
The Modern JavaScript Tutorial Part 1 ノート。
本文だけでなく、各章末尾のコメント欄にも目を通すのがたいへん重要だ。同じように理解に困っている読者が、間違いなくいる。それに対する返信で救われるのだ。
- An introduction
- JavaScript Fundamentals
- Hello, world!
- Code structure
- The modern mode, “use strict”
- Variables
- Data types
- Interaction:
alert
,prompt
,confirm
- Type Conversions
- Basic operators, maths
- Comparisons
- Conditional branching:
if
,?
- Logical operators
- Nullish coalescing operator
??
- Loops:
while
andfor
- The
switch
statement - Functions
- Function expressions
- Arrow functions, the basics
- JavaScript specials
- Code quality
- Objects: the basics
- Data types
- Advanced working with functions
- Object properties configuration
- Prototypes, inheritance
- Classes
- Error handling
- Promises, async/await
- Generators, advanced iteration
- Modules
- Miscellaneous