Primitive types and Objects

Hello my question is Mdn basic javascript module says everything in javascript is object and in re-introduction to javascript module not included number,string, boolean in object and i read some articles on web they says not everything in javascript is object, number, string, boolean is primitive type, please clear my confusion.

Hello @Junaid_Arshad

there lesson related to js learning bath in this link

in the following link they mention the variable type

and if you want a depth learning you can check this link

and the part when they mention the variable type you can check this one

hope that help and have a nice day :slight_smile:

1 Like

Yeah, you are correct; most things in JS are objects, but not all. I’ve gone through the JS learning articles and changed the wording where it says all things are objects.

2 Likes