0
Why we need to create own object.
if we can work using any function why we need to create own object.
3 Answers
+ 1
because a function is an object, you can use an object to make your own data types
+ 1
http://www.w3schools.com/js/js_object_definition.asp
try and take note it will be easier to understand it. It more an advanced part of Javascript.