- not understanding truthy / falsy values
- not testing default values correctly
- using wrong comparison operators (just use === or !==)
- not using for .. in properly (because of prototype bleed-through)
- misunderstanding scope (with great discussion of variable hoisting)
- not using closures properly
- putting things in the global scope incorrectly
- Object.create() is now part of the spec
- native JSON processing
- array methods (filter, forEach, indexOf, lastIndexOf, reduce, map, every, some)
- new Date methods (now, toISOString)
- Attributes (things like writable, enumerable, configurable)
- getters and setters are available for objects
- Object extensibility controls (seal, freeze, preventExtensions)
- Object.keys which returns an array of own properties (goodbye hasOwnProperty check)
- ‘use strict’ option
- next version of ECMAscript (after 5) will most likely address modularity
- they tried, but failed to kill eval in version 5
- they actually considered altering the syntax to be more CoffeeScript like, but decided against it
Fonts, Form and Function: A Primer on Digital TypographyNot directly related to web development, but a great (and beautifully put together) presentation from Robby Ingebretsen of Pixel Lab on typography basics. * You can find all of the videos from the event here.
You may also like:
Did you love / hate / were unmoved by this post?
Then show your support / disgust / indifference by following me on Twitter!