what are the objects in javascript





If you want to Know About Java script , You should understand about the Objects . One cannot understand Java script without understanding about Objects .

So in this Post let us try to understand about the Objects .

In Java script Expect the Primitive Data Types almost every thing is An Object .

Boolean can be objects : By default Boolean values are not considered as Objects , But when if defined with the new keyword , it will behave as Objects .


Numbers can be objects
: By default Numbers are not considered as Objects , But when if defined with the new keyword , it will behave as Objects .

Strings can be objects :  By default Strings  are not considered as Objects , But when if defined with the new keyword , it will behave as Objects .

Dates are always objects : By default Date is a Built in Object.


Maths are always objects : By default Math is a Built in Object.

Regular expressions are always objects :

Arrays are always objects
Functions are always objects
Objects are always objects

Comments