Premium Only Content

Some Operators in JavaScript | Day 31 | Web development Course
JavaScript Operators
Operators are symbols or keywords used to perform operations on data in JavaScript. They allow you to manipulate data, compare values, and control the flow of your program.
Here are the different types of operators in JavaScript:
1. Arithmetic Operators:
+: Addition
-: Subtraction
*: Multiplication
/: Division
%: Modulo (remainder after division)
++: Increment (add 1)
--: Decrement (subtract 1)
2. Assignment Operators:
=: Assign value
+=: Add and assign
-=: Subtract and assign
*=: Multiply and assign
/=:** Divide and assign
%=: Modulo and assign
3. Comparison Operators:
==: Equal to
!=: Not equal to
===:** Strictly equal to (type and value)
!==:** Not strictly equal to
>: Greater than
<: Less than
=:** Greater than or equal to
<=:** Less than or equal to
4. Logical Operators:
&&:** And
||:** Or
!:** Not
5. Conditional (Ternary) Operator:
condition ? value1 : value2
Evaluates condition and returns value1 if true, otherwise returns value2
6. String Operators:
+: Concatenation (joins strings)
7. Bitwise Operators:
~:** Unary negation
&:** Bitwise AND
|:** Bitwise OR
^:** Bitwise XOR
<<:** Left shift
:** Right shift
8. Comma Operator:
Separates expressions and evaluates them from left to right
9. Unary Operators:
-:** Negation
!:** Logical NOT
typeof:** Returns the data type of an operand
++ and -- (prefix and postfix): Increment and decrement
-
LIVE
JULIE GREEN MINISTRIES
1 hour agoLIVE WITH JULIE
20,744 watching -
LIVE
The Pete Santilli Show
1 hour agoOur Memorial & Prayer Vigil For Charlie Kirk - September 15, 2025
790 watching -
LIVE
Welcome to the Rebellion Podcast
21 hours agoWhere Do We Go From Here? - WTTR Podcast Live 9/15
462 watching -
LIVE
The Chris Salcedo Show
16 hours agoFALLOUT: Charlie Kirk's Assassination
665 watching -
LIVE
The Bubba Army
2 days agoCharlie Kirk's Shooter, Had a Trans BF? - Bubba the Love Sponge® Show | 9/15/25
2,296 watching -
30:31
DeVory Darkins
14 hours ago $4.73 earnedCNN forced to admit the shocking truth about shooter as Fetterman drops bomb on Democrats
6.86K66 -
20:54
Professor Nez
15 hours ago🚨BREAKING: Shooter’s Own Words in Charlie Kirk Case Revealed
5.05K4 -
16:48
itsSeanDaniel
16 hours agoGenius Republican Defends Charlie Kirk and CALLS OUT The Radical Left
3.54K2 -
9:09
Freedom Frontline
16 hours agoFox News Just Showed The Video Biden Never Wanted Seen
6.65K15 -
0:27
historyofboxing
17 hours ago $0.13 earnedThe Cuban Machine… and Deadliest KO Phenom Right Now – David Morrell Jr
6.55K1