gmosx.ninja

Nasty JavaScript catch

JavaScript definitely has some rough edges. Consider this:

parseInt("07") // => 7
parseInt("08") // => NaN

This is a great reason for a 20 minutes long debugging session :(