Why develop objects?
- Data hiding
- Code elegance
- Code reuse
- Script stability
Steps for developing custom objects
- Design properties and methods
- Create constructor functions
- Develop methods
- Bind methods to objects
Why develop objects?
Steps for developing custom objects