Forum : Where do the Objects get created???
Brief description  about Online courses   join in Online courses
View Anonymous  Anonymouse 's Profile

Where do the Objects get created???

when we say
var stupidday=new Date();

Where do the Objects get created???

in Java ...heap ....

well here the same thing i guess!!
Asked by Anonymous Anonymouse | Aug 15, 2010 |  Reply now
Replies (2)
View anonymous anonymouse 's Profile
Where do the Objects get created???
Aug 18, 2010
View teacher siliconindia 's Profile
Hi Arun,

In JavaScript, objects are just collections of name/value pairs—think of a JavaScript object as a dictionary with string keys. We can get and set the properties of an object using either the familiar "." (dot) operator, or the "[]" operator, which is typically used when dealing with a dictionary.
Aug 17, 2010