JavaScript Guide
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
Copy Code
<a href="javascript/Guide/Loops_and_iteration#for_statement">for</a><br> <a href="javascript/Guide/Loops_and_iteration#while_statement">while</a><br> <a href="javascript/Guide/Loops_and_iteration#do...while_statement">do...while</a><br> <a href="javascript/Guide/Loops_and_iteration#break_statement">break</a>/<a href="javascript/Guide/Loops_and_iteration#continue_statement">continue</a><br> <a href="javascript/Guide/Loops_and_iteration#for...in_statement">for..in</a><br> <a href="javascript/Guide/Loops_and_iteration#for...of_statement">for..of</a>
- 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
- Indexed collections
- Keyed collections
- Working with objects
Objects and properties
Creating objects
Defining methods
Getter and setter - Details of the object model
License
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/javascript/guide