JavaScript Guide
En esta página
- Introduction#
- Grammar and types#
- Control flow and error handling#
- Loops and iteration#
- Functions#
- Expressions and operators#
- Numbers and strings#
- Representing dates & times#
- Regular expressions#
- Indexed collections#
- Keyed collections#
- Working with objects#
- Using classes#
- Promises#
- Typed arrays#
- Iterators and generators#
- Resource management#
- Internationalization#
- JavaScript modules#
- Advanced topics#
The JavaScript Guide shows you how to use JavaScript and gives an overview of the language. If you need exhaustive information about a language feature, have a look at the JavaScript reference.
This Guide is divided into the following chapters.
Introduction#
Overview: Introduction
Grammar and types#
Overview: Grammar and types
- Basic syntax & comments
- Declarations
- Variable scope
- Variable hoisting
- Data structures and types
- Literals
Control flow and error handling#
Overview: Control flow and error handling
Loops and iteration#
Overview: Loops and iteration
Functions#
Overview: Functions
- Defining functions
- Calling functions
- Function scopes and closures
- Arguments & parameters
- Arrow functions
Expressions and operators#
Overview: Expressions and operators
- Assignment & Comparisons
- Arithmetic operators
- Bitwise & logical operators
- Conditional (ternary) operator
Numbers and strings#
Overview: Numbers and strings
Representing dates & times#
Overview: Representing dates & times
Regular expressions#
Overview: Regular expressions
- Creating a regular expression
- Writing a regular expression pattern
- Assertions
- Character classes
- Groups and backreferences
- Quantifiers
Indexed collections#
Overview: Indexed collections
Keyed collections#
Overview: Keyed collections
Working with objects#
Overview: Working with objects
Using classes#
Overview: Using classes
Promises#
Overview: Promises
Typed arrays#
Overview: Typed arrays
Iterators and generators#
Overview: Iterators and generators
Resource management#
Overview: JavaScript resource management
- The
usingandawait usingdeclarations - The
DisposableStackandAsyncDisposableStackobjects - Error handling
Internationalization#
Overview: Internationalization
JavaScript modules#
Overview: JavaScript modules
Advanced topics#
After you have learned all fundamental features of JavaScript, you can explore some more niche features, or dive deeper into the language's mechanisms and concepts.
- Language overview
- Data structures
- Enumerability and ownership of properties
- Inheritance and the prototype chain
- Equality comparisons and sameness
- Closures
- Meta programming
- Memory management
{{Next("Web/JavaScript/Guide/Introduction")}}