0% found this document useful (0 votes)
242 views5 pages

JavaScript Guide - JavaScript - MDN

This JavaScript guide provides an overview of the JavaScript language and its features. It is divided into chapters covering topics like basic syntax, variables, data types, control flow, loops, functions, operators, objects, classes, modules and more. The guide aims to give a comprehensive but not exhaustive look at JavaScript. For more detail on specific features, refer to the JavaScript reference.

Uploaded by

xi si
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
242 views5 pages

JavaScript Guide - JavaScript - MDN

This JavaScript guide provides an overview of the JavaScript language and its features. It is divided into chapters covering topics like basic syntax, variables, data types, control flow, loops, functions, operators, objects, classes, modules and more. The guide aims to give a comprehensive but not exhaustive look at JavaScript. For more detail on specific features, refer to the JavaScript reference.

Uploaded by

xi si
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 5

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.

This Guide is divided into the following 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

if...else

switch

try / catch / throw

Error objects

Loops and iteration


for

while

do...while

continue

break

for..in

for..of

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

Number object

Math object

Date object

Text formatting
String literals

String object

Template literals

Internationalization

Regular Expressions

Indexed collections
Arrays

Typed arrays
Keyed collections
Map

WeakMap

Set

WeakSet

Working with objects


Objects and properties

Creating objects

Defining methods

Getter and setter

Details of the object model


Prototype-based OOP

Creating object hierarchies

Inheritance

Promises
Guarantees

Chaining

Error propagation

Composition

Timing

Iterators and generators


Iterators

Iterables

Generators

Meta programming
Proxy

Handlers and traps

Revocable Proxy

Reflect

JavaScript modules
Exporting

Importing

Default exports

Renaming features

Aggregating modules

Dynamic module loading

Last modified: Jul 20, 2021, by MDN contributors

You might also like