DEclaration of variables
- Var
- let
- const
An operator is a special symbol used to perform operations on operands (values and variables). Example: 2 + 3; // 5 Types of Operators Assignment Operators = Arithmetic Operators - +,%,-,/* Comparison Operators/Relational <>== Ternary Operators - condition ? expressionIfTrue : expressionIfFalse
Logical Operators &&||! These are special symbols used to connect two or more expressions to perform a comparison AND RETURN EITHE RTRUE OR FALSE. types of logical operators;
- AND (&&) Return true only if allll the conditions are true
- NOT (!) It works on a single expression, It simple inverts a boolean value.
- OR (||) iT WILL RETURN TRUE IF EVEN A SINGLE EXPRESSION RETURNS TRUE,