JavaScript Data Types
Software Engineer intern @Azend Technologies | 3rd year)| Undergraduate at Faculty of Information Technology | BSc (Hons.) ITM | University of Moratuwa.
In JavaScript, several data types are used to store different types of values. These include:
String: A sequence of characters, such as "hello" or "javascript".

Number: A numerical value, such as 42 or 3.14.

Boolean: A true or false value.

Undefined: A variable that has been declared but has not been assigned a value.

Symbol: A unique and immutable data type introduced in ECMAScript 6.

Object: A collection of key-value pairs.

Array: An ordered collection of values.

Function: A block of code that can be executed repeatedly.

BigInt: A numeric data type for integers of arbitrary length.

null: special value which represents no value or no object.

And , JavaScript is a dynamic type system, which means that a variable can hold values of any data type. For example, a variable can be first assigned a string value and then reassigned a number value.
