Object


#1

Hi,
I want someone to tell about object in brief.
Thank you


#2

Objects are things. That pillow and bed you rise from each morning are objects. Glass of orange juice and toast are objects. We can classify objects in our daily life by any number of criteria, which introduces classification.

Code is nothing without data. Both the code and the data are objects, of differing types, but objects all the same.

You will read the phrase, "Everything in JavaScript is an object." While nearly completely true, the fine print rules out primitives. Primitves are not objects, that's why they are primitives. The definition of a program object did not include them, directly, but only defined containers for them. String, Number and Boolean are the three main ones.

"A quick brown fox jumps over the lazy dog"

42

true

#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.