1) Arithmetic(+,-,*,/,%)
E.g
let x = 5;
let y = 6;
let add = x+y;
let sub = x-y
let multiply = x*y
let devide = x/y
2) Comparison(relational or arithmetic)(>,<,>=,<=,==,!=)
E.g
let a = 5;
let b = 6;
Console.log(a>b) output will be false.
3) Logical Operators(||, &&,!)
let c = true;
let d = false;
Console.log(c&&d)
4) Assignment Operators(=, +=,-=,*=,/=, %=)
5) ternary operators:

0 Comments