JS Notes 2
JS Notes 2
0her OpriuizatMa
i cacag
lt staDat ws Datec).
lt udDate start Dak
A as a
Const Yadi
do caldeklradans, area));
cosotelo Ccaluda Cradin, circmnterau)
smo
K conslL
CYadie
Cot
Data
Page No,
Ep- 19
map inotance that CYeat a
nau:"Ta*
tnam: Jom
tnae"Job
Date
Page No.
redduce C) a hi
that e e t t a
a Yaer-Suppud"reducur callbac ttin
Coetnrs
tiatNa :"Jai Laot Naui "Gupta
Johi,dasta:'ui
Mudt, LastName:Iain
1/23:2,24-|,
25(3
a' nthAushed
ututy
ocauk).
ekeaer
Selactor(tr).
Cudl addad 4uuydout.
3loq Cone
ao Kandler%
ame feut
tass tothat wile et ko
Page
oatNo
o
Date
6 Page No.
Cattta
to wdratad
Con e a t
Cas c t t
Date
Page No
S2 - EPOI
Aue t heudler is a
Acall back ig just a functhioM tad's passed
aaother huctinn th the luptatian Ahat tue
Call bac ill be called at ttae appemict twe.
Calhacke sed to be the main
tuncti
When hae to cal call baces insde cal bacee
sih uado to deuply ted callback t e code
becomes wnch harder to cad k dabug. Tuie is caled
doom
begs to qrow hsnzontally utead ticaly
api. shosOter
3);
Austw ompe
cal back Cordu etala)
Curder Details, cauback) E
Ordua Dutadle -wod
Poyent -="walet"
Causack (ordn Deta);
porns
We
statea: opurctio
3 aayuchvonos
A
02 Ep S2
3);
(adu tntion Dekaila, (ordu Sunay Orsu shos
b)f TaPaeutOroerDeailar
(order uchian poued
tule)e OrdurCororetaile, creat
y;Dtile
f= rder Const
Detale, (order Conaole
o,
Detailaupdaealablet
Galamc Srer
oyolDtalaJ; ualltBaanee wpdote tncho
derDutaila) (ar back Cal
lbae)t lGD; Aod SYdrDtaila.
total
Detais, Cordur Smmay Orow show functim
No. Page
calbae Paga No
as Readab Streamy
wh e convrtto JsoN to etact k.
Promisea obyecta are imwutasle, hobody Con mtat
Ctuactian (ordrDetei)f
vim up date WaltBalanc (ordeetai):
3);
const
coneole.
Ytapomarmae thencCreo)
Const oata Roms
data Prewuise. tthn (ldata)
honiztaugsoO.tgain
h
But Since hu C)
4)
Cdata);
hae
Pags 1o
So2 ep-a3 reatip
Eanstpaaaac
coust pm
pracdaltenchix Cordta)
lProducer
fuuctinn creatOrds Ccat)t
4
Coyt orderTd a|2345
Du mmaise claGihingshater
CveateOrderc)
L234S
Coeoe og Cordlo)
Ythaa podToP a t
3)
3)
-Whe wt cal
nol Yehn apoise (Psoise A).
tu CPrmi 6).
- t A asome that at som
ulile cYany
Const
Date
Page No.
iterasa
wslhen a
Vale an
3s 26
Prosuiseau CUpl 2
30
Pros-auolta
Proe.al has
Date
Page No.
Promise. all Sethd ) Atatie wwetuod toss an stealle
Ainpt Yetrne a sige oisc Aoa wthi
passed is Cuapty
Yetuy
Yd
pasaed is
rase raaCepl, p2, p3)
Prsnise
34 26
Page No.
Pronseace (Lpl, p2,p )
30 20
Prmuse. yacec) s
passed
6
ped
Plomnay Cplpp)
2%
Preise
28
)Date
Page No.
AosesaCpl, pp)
24
CCpl, p2 p ) tan(Cre)
Date
apncaait Page Nol
alsag returu apous
uthe retuua
wl can
Gh value
tData (O
(" Namat Is")
NameIs
Prouise Value (Ater lOs)
rose("promis Vae");
Gonat t a u t p
Csst aat
Date
Page No.
Nanaste TS
At Tiueoutc ’
yysue ("Prouse Valu2 ;
Conset
We
otheunse
promse
prowise
Date
Page No.
obieet
Coo ndeted
Lude afacthiM, te vde
be vehaced wath
non- stact aodu. this subttuti
thia
ts Vale dplda
indo-eO
Dato
Page No
hncho
it isa metod
pat doetythen
const oti
skudeutl. pu tNaue C)
cost studut=
NaJai
)Date
bindi Page No.
Ayow
t hs vae
Cont
o (thia):
Conat cbË=t
a (0,
(kia
ta