JavaScript/ActionScript prototype-based OO
Here is a diagram I found that illustrates quite clearly how prototype-based OO works. Learning how this works not only gives you a better idea of how OO works in JavaScript and ActionScript, but will also allow you to do other magical things such as changing the type of an object on the fly.
Comments
Post a comment