Rubyist's Quick Guide to ECMAScript 5
Describes most important features added to JavaScript in the ES5 version (released in 2009) and available in the latest versions of popular browsers. This includes library additions:
- Array extensions (isArray, forEach, map, filter, reduce, reduceRight, every, some, indexOf, lastIndexOf)
- Date extensions (now, toISOString)
- String extensions (trim, trimLeft, trimRight)
- Function extensions (bind)
- JSON parsing (JSON.parse, JSON.stringify)
And some language/syntax extensions:
- object getters and setters
- object properties (configurable, enumerable)
- object introspection (keys, getPrototypeOf)
- object creation using prototypal inheritance (Object.create)
- protecting objects (seal, freeze)
- strict mode
Kuba Suder
Annual Pro sale · Save $30
Have presentations of your own?
Share with private links, password protection, and more control over your work.