Login Register Appointment

Variables, Data Types, and Operators

Lesson 12/17 | Study Time: 45 Min

What You Will Learn in This Live Session

1. Variables in JavaScript

  • What are variables, and why they are used in programming.
  • Different ways to declare variables: var, let, and const.
  • Scope of variables (global vs. local scope).

2. Data Types in JavaScript

  • Understanding Primitive Data Types:
    • String – Text values ("Hello")
    • Number – Numeric values (10, 3.14)
    • Boolean – True/False values (true, false)
    • Undefined & Null – Special values representing empty or uninitialized variables
    • BigInt & Symbol – Advanced data types for specific use cases
  • Understanding Non-Primitive Data Types:
    • Objects, Arrays, and Functions

3. Operators in JavaScript

  • Arithmetic Operators – Perform mathematical operations (+, -, *, /, %).
  • Assignment Operators – Assign values to variables (=, +=, -=, *=).
  • Comparison Operators – Compare values (==, ===, !=, !==, >, <).
  • Logical Operators – Combine conditions (&&, ||, !).
  • Unary & Ternary Operators – Modify values or simplify conditions.