Platform
Resources
Pricing
Sign in
Get started
Martin Kavalar
Workspace
Fork
Published
By
Martin Kavalar
Edited
Feb 2, 2021
Insert cell
{
let
i
=
0
;
while
(
true
)
{
if
(
i
%
2
===
0
)
mutable
counterEven
=
i
;
yield
Promises
.
delay
(
100
,
++
i
)
;
}
}
Insert cell
mutable
counterEven
=
0
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
counterEven
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML