Gotchas

Posted by Katie McLaughlin on September 2, 2014

javascript: in functions, x = 1 is not the same as var x = 1. The scoping of the variable is important in javascript. In one invocation, you can have local overloaded scope, the other you can't.

ruby; x.each{}.. will not pass the manipulation should to the next function in the series. You want x.map.

This has been a public service annoucement for the "Not again" Society.

(Also, wordpress just said "Beep beep boop" to me using their new editor on Wordpress.com. :3)