Skip to main content. Skip to secondary content (sidebar).

Posts Tagged ‘properties’

Learn to create custom methods and properties for JavaScript objects

As the Web applications you develop grow larger and increasingly complex, code reuse becomes more important. You can find yourself repeating several tasks, and it becomes a necessity to understand object-oriented programming (OOP) for JavaScript. This can be a frustrating experience, since there are so many opinions on coding style. Regardless, in your research, you will undoubtedly find yourself face-to-face with a very powerful OOP concept, called prototype.

Continue Reading »