JS Assignment 2
JS Assignment 2
DATE:
ASSIGNMENT-2
QElab orate the ype conversioh wed in
Tavascript
Tavaseript ik a Looacly typed langunge and
most of the.
Canverte a value to
timJavascript
Tavascript implicltly
th rate type but
there
alao CaAes ohere nud ticrplicit ly
Ly
do type conversion.
co
Converting valuee t shing
Concertibg vaues ta Nuober
Converting values
The vakript Sbing ) and to ctrinq method
cah be wAedin JavaScript to convert
Vaue to a
fting
Syntaxi
Shing (álue) oe
Vaiakle Nametnshing
Converting Numnbers nto Stringi
let
let v2= 333:
consola log "Type af ve befot canierslon "
typesf
Conversion
cund type.of V2 be foae
+ type
condale lag Type of V aftr Convhoiob :
Ahing (v)and
+ type of Ahing v)t typeo£
V2 afttr converso n + type 2
totting O):
PAGE NO. PAGE NO.
DATE DATE:
DATE DATE
Llhen th value
Ane reptLcntnqatqeraaith arbitany
patteton.
123n uobile loopi
The Javascript abilk loop iHerate the
5 element foy the Infinit humberof tinee
hen the should be ucd number of teratiah
4 hypcaf "helo";
PAGE NO PAGE NO.
DATE DATE:
DATE:
Bitwtre Not
<< Bltofselett shift
Bltwicet¡ht shift
Bitoredgbt shift with zen