Within the constructor function itself you can write this.method() . But what if you want to keep the constructor small, only defining those ... ... <看更多>
Appears correctly in auto complete. bob.method1(); // Add an object method dynamically. // Intellisense appears to work only partially for a ... ... <看更多>