Operators
Operators
1) Numbers 35 10568
,
>
- 8 -10 0
, , , ,
a)
1 I 1(
world
Strings
>
- hello
-
Y text
-
-
3) Boolean s Hus
false ,
roll
per
e ,
is declared I
defined also but wel an
empty valu
i . e. well
-
-
but
defend
.
never
...
new
name
bucket
* e
null
-
-
y
I
let user
;
R
t
-
-
mis
e -
-
6)
fight
In yo (as
per my
latest
infor a normal number can
E
for numbers
beyond this
range ,
we
veigt
&
To make a no .
Bigint ,
we write the number
append a n
all
ast
let x
3125068999999888n
=
;
-
u
i
-
-
- -
insta X linked
for
3
let
fle -
let insta =
-
:
#value
E fb :
3000,
I"Insta:
-
10000
-- I
1
2
(
X : 15000
Symbol)
- -
1 &
linkedIn : 7000
d
3
Suip)
-
⑭"
"Y -
programming lang
do
using
we can
computations .
>
-
Operators
>
Operators are
symbols that can do some computation
or calculation
.
(1
+ ,
= =
=,
*
-
-
Ens #
M
used adds
plus if
this 2
operate with numbers
them
-
erator
If-
j -
·
- -
> operand
-
-
Arithmetic und with
nums
# Operators
>
-
-
-
2 + 3 >
- add 2 and 3
2- 3 Subtract
>
-
& and 3
multiply
>
-
2 * 3 2 and 3
2 / 2 >
- divides & wel 3 , gives
module
①
you the
quotient
-
>
- -
divisions
2 i
%03 >
-
remainder of of
2 & 3
3
**
2 ,
2
>
-
calculate 2
-
-
&let a Glo
#assiament operates
: ;
Lin
value Vanable.
help
these no W
assign
us a
-
-
&
let
yuals
= >
- -> x = 10 ;
let 22 = 10
;
in 2
-
-
fir
let u = 10
;
&
lo 15
y
H
let x + 5;
y
=
x
y;
=
-
second
&
way
--
let a 10
105
;
=
sh
x
=
x + 5
;
Id
-
-
3
let
way
u5-
x = 10
;
;
2.
Stua
-
n 2
3
-
=
x -
2 x - =
*
x =
x53 >
- x
=
3
assign
x =
x/5 -
x) = 5
ofexato
=
n =
a
% 3 >
-
a 90 =
3
**
x x 5
xxP 5
=
> =
>
-
only those users who e
I And
are
registered on
netflix ,
And
2) those who have
paid fer subscription
operates
logical-
- > Comp
Logical
AND OR NOT
&G 11 !
>
-
operands of
a
logual operator are
always
boolean donot booken then
If pass
. we
automatically
h boolean
IS convert them :
-
-
AND
R &
y
false false -
false
false Tra -
false
true fale -
false
Wus
>
-
true true
Oz
I Il
y
falsa false as
falsa
t ru
false > Lous
-
true true Wu
-
Not
x > ! N
Was
false
false Hul