Skip to main content
Code Cinema
JavaScript
Async / Await
Write async code. Watch the Promise resolve in real time.
a
s
y
n
c
f
u
n
c
t
i
o
n
f
e
t
c
h
D
a
t
a
(
)
{
c
o
n
s
t
d
a
t
a
=
a
w
a
i
t
g
e
t
D
a
t
a
(
)
;
r
e
t
u
r
n
d
a
t
a
;
}
f
e
t
c
h
D
a
t
a
(
)
;
Click here and start typing...
Async — non-blocking execution
Type the async function to start the timeline...