The JavaScript Guide shows you how to use JavaScript and gives an overview of the language. If you want to get started with JavaScript or programming in general, consult the articles in the learning area. If you need exhaustive information about a language feature, have a look at the JavaScript reference.
Capítulos
This Guide is divided into several chapters:
- Introdução
About this guide
About JavaScript
JavaScript and Java
ECMAScript
Tools
Hello World - Gramática e tipos
Basic syntax & comments
Declarations
Variable scope
Variable hoisting
Data structures and types
Literals - Controlo de fluxo e manipulação de erros
- Loops e iteração
- Funções
Defining functions
Calling functions
Function scope
Closures
Arguments & parameters
Arrow functions - Expressões e operadores
Assignment & Comparisons
Arithmetic operators
Bitwise & logical operators
Conditional (ternary) operator - Números e datas Number literals
- Formatação de texto
String literals
String
object
Template literals
Internationalization
Regular Expressions