Just a quick one that I wanted to write down before I forget.Function statements (like var statements) get hoisted up to the top of their declaring scope before evaluation. This means that the location of a function (or constructor function) definition within a file is entirely down to aesthetics - as long as the scope is correct. This can be used to make defining normal JavaScript classes look a little bit more classical, without messing around with vastly different syntax.