faking it: static method calls in JavaScript
¶ by Rob FrieselHave you ever wanted (as an object-oriented JavaScript developer) to work with an object before you had an instance of it? For example, perhaps there’s a method that you would like to call without going through the overhead of instantiating the object 1. How would you go about doing this? Can you invoke myWidget.doSomeStuff() if […]