Another WTF JavaScript Moment

Javascript is a powerful language, but sometimes it doesn’t always do what you expect it to. Take the following expression for example. It’s a simple if statement that checks to see if true and then runs the code within the block. Running the code results… Read more

Similar

Building a Maybe in JavaScript

Cannot read property "x" of undefined. I'm guessing if you're reading this you've seen that message before, and probably at some point wanted to throw something through your monitor. We have the venerable Sir Tony Hoare to thank for th... (more…)

Read more »