that will make you a better programmer.
Toby Ho · @airportyh · tobyho.com
Debugging
Taking Small Steps
(Chrome DevTools)
ReferenceError: foobar is not defined
TypeError: Cannot read property 'baz' of undefined
TypeError: Cannot read property 'baz' of null
TypeError: undefined is not a function
TypeError: Object #<Object> has no method 'baz'
SyntaxError: Unexpected token .
ReferenceError: $ is not defined
It doesn't work, and nothing I do seems to make any difference.
... just wrote an integration test and it passed the first time! Yes!!
The 'color' setting I am passing to the API doesn't seem to have an effect.
still kinda tedious