Lessons tagged: setProp
-
Updated on: Mar 20, 2010
How do I define my own properties for an object?
This lesson shows how to store custom properties in an object, and how to define getProp/setProp handlers to customize behaviour when getting/setting custom properties
-
Updated on: Apr 16, 2010
What Are The Alternatives To Using Global Variables?
It is well known that global variables are generally a bad thing. Although they can seem convenient, they have a number of major drawbacks. This lesson outlines the reasons you may wish to find alternatives to using globals and then shows a number of options in revTalk that allow sharing of da...
