Common JavaScript Manual

From Wikibooks, open books for an open world
Jump to: navigation, search
Common JavaScript Manual

JavaScript core[edit]

Introduction[edit]

About JavaScript
How read this book

Data types[edit]

Numbers
Arrays
Strings
Objects

Controlling constructions[edit]

Conditional statements
While and For loops
Do .. While and For .. in loops
Break, continue, labels
Logic and Comparison operators
Condition operator
Switch expression

Functions[edit]

Definition function
Recursion
Predicates
Memorization
Indefinite number of arguments
Higher-order function
Closures
Lambdas
Curry
Callbacks

Object oriented programming[edit]

Definition construcors
Inheritance
Extending objects