As all the computer languages are moving towards the Object Oriented approach. Javascript is also having one of the most powerful feature of creating objects in javascript. I came across many developers who say javascript is just about the validation, but in my view , this is one the main component of developing web based application. I am not sure why this language is termed as validation language as well by many, but when you go deep into this language , this is one of the best language to handle to browser based application and formatting the data before getting displayed on the User Interface. Keeping this in mind, i am sharing one of best feature of javascript of creating user defined objects. This feature can be used at major places such as displaying data in the tabular format, creating a object of your own choice to parse , display or manipulate in any manner you like.......here is the sample code for the same.....
Click on the image if unable to see it clearly.