function ABC(){ ... }
ABC.prototype.newMethod = function(){} //to create a new method
Then how about ABC.prototype = function() { ... } ?
Can I know what is the difference?
|
|
Results 1 to 2 of 2
Thread: prototype problem
Thread InformationUsers Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
|
Bookmarks