Few Memo about ECMAScript 5

2015/12/41 min read
bookmark this

Javascript, the Bad part

with

eval

void

type coersion

continue/switch

Different ways to set This keyword

javascript scope and hoisting

javascript this by method call

javascript this by using call

javascript this by apply

javascript this by constructor with new

prototype inheritance

javascript fat arrow =>

javascript inheritance by using Object.create

javascript assignment expression

Global Variables

scope

semicolon insertion

reserved words

unicode

typeof

parseInt

floating point

NaN

+ operator

Phony Arrarys

Falsy Values

hasOwnProperty

Object

Block-less Statements

++ --

Bitwise Operators

Function Statement Versus function Expression

Typed Wrappers

new