... until the collector arrives ...

This "blog" is really just a scratchpad of mine. There is not much of general interest here. Most of the content is scribbled down "live" as I discover things I want to remember. I rarely go back to correct mistakes in older entries. You have been warned :)



If you write Javascript that looks like this:

function x()
        something() + somethingElse();

The function will return an undefined result.  Why?  Because semicolons are optional in Javascript.  It sees the newline after the RETURN and thinks that it has found the end of the statement.  The following expression apparently is parsed as a valid statement, so the compiler doesn't complain.

Blog Archive