Are objects primitive types?

In JavaScript, a primitive (primitive value, primitive data type) is data that is not an object and has no methods . There are 7 primitive data types: string, number, bigint, boolean, undefined, symbol, and null.

Sizin İçin Seçtik  What is a class with example?

Leave a Reply

Your email address will not be published. Required fields are marked *