Primitive types are basic data types that hold a single value.

Used to represent text, enclosed within quotes (”, “”, or backticks “ `).

    JavaScript
    let name = "Manjeet Singh";

    Used for both integers and floating-point numbers.

    JavaScript
    let age = 25;
    let price = 9.99;

    Represents true or false values.

    JavaScript
    let isVerified = true;

    Represents an intentional absence of any value.

    JavaScript
    let result = null;  // Explicitly empty

    Represents a variable that has been declared but not yet assigned a value.

    JavaScript
    let x;
    console.log(x);  // Output: undefined

    Introduced in ES6, Symbol is used to create unique values.

    JavaScript
    let sym = Symbol('unique');