Mapa mental
JS
Contenido del mapa
JS
Keyword: with(){}, closure, prototype, Infinity, undefined, null, NaN, Associative Arrays,... (see note)
- - Associative Arrays - Array Javascript vs Array PHP. - Undefined vs Null vs NaN - Difference between javascript property and javascript variable - What is the purpose of the var keyword and when should I use it (or omit it)?
- Value vs. Reference in Javascript
Operators
- Unary operators
- delete, new, abc = + x, void, typeof,...
- Comma operator
- Bitwise operator
- Other
- Assignment operators Comparison operators Arithmetic operators Bitwise operators Logical operators String operators Conditional (ternary) operator Comma operator Unary operators Relational operators
- Grouping operator (...)
- Spread syntax (Three dots)
- Unary operators
Statement
- break, continue, label
Function
- Statements function declaration
- Operators function expression
- other note
- var a = function() { return {name:"abc"} };
- var a = function() { return {name:"abc"}; }; a.name = "abc2"; // OUTPUT --------------- // a() = function run. // a().name = "abc". // a.name2 = "abc2".
- Function expressions in JavaScript are not hoisted, unlike function declarations.
- eval()
- Arguments object
- Rest parameters (Three dots)
- var a = function() { return {name:"abc"} };
- Function constructor