is "Object();" a predefined function in javascript?
Posted
by
Qlidnaque
on Stack Overflow
See other posts from Stack Overflow
or by Qlidnaque
Published on 2011-01-16T02:13:23Z
Indexed on
2011/01/16
8:53 UTC
Read the original article
Hit count: 142
JavaScript
|oop
I come across code such as "personObj=new Object();" where a new object called personObj is being defined. What I'm trying to find out is whether Object() is a prefined function in javascript, because I understand by using the mentioned code, a instance of a class is being formed but in the example code where I'm studying from, the class Object() is not being defined anywhere, so I was wondering if Object() was a predefined function in javascript and whether I can be directed to some online resources, as all that shows up in google when I try to find Object() are articles in general javascript object oriented programming.
© Stack Overflow or respective owner