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.
Chapters
This Guide is divided into several chapters:
- Introduction
About this guide
About JavaScript
JavaScript and Java
ECMAScript
Tools
Hello World - Grammar and types
Basic syntax & comments
Declarations
Variable scope
Variable hoisting
Data structures and types
Literals - Control flow and error handling
- Loops and iteration
- Functions
Defining functions
Calling functions
Function scope
Closures
Arguments & parameters
Arrow functions - Expressions and operators
Assignment & Comparisons
Arithmetic operators
Bitwise & logical operators
Conditional (ternary) operator - Numbers and dates Number literals
- Text formatting
String literals
String
object
Template literals
Internationalization
Regular Expressions