Hi Robert, nice tut.
It's a bit weird to see a Singleton like this (some would argue that it's simply a global object reference), but then again, much JavaScript OO is a bit 'weird'... :P
Maybe you should add a little about private props?
More information about formatting options
Nice
Hi Robert, nice tut.
It's a bit weird to see a Singleton like this (some would argue that it's simply a global object reference), but then again, much JavaScript OO is a bit 'weird'... :P
Maybe you should add a little about private props?