Platform
Resources
Pricing
Sign in
Get started
zequanr
Workspace
Fork
Published
By
zequanr
Edited
Jul 22, 2021
Insert cell
Insert cell
{
let
a
=
0
for
(
let
i
=
0
;
i
<=
10
;
i
++
)
{
a
+=
i
}
return
a
}
Insert cell
Insert cell
{
let
a
=
[
]
;
for
(
let
i
=
1
;
i
<
10
;
i
++
)
{
a
[
i
]
=
[
]
;
for
(
let
k
=
1
;
k
<
i
+
1
;
k
++
)
{
a
[
i
]
[
k
-
1
]
=
i
*
k
;
}
}
return
a
}
Insert cell
{
let
a
=
[
]
for
(
let
i
=
0
;
i
<=
2
;
++
i
)
{
a
[
i
]
=
[
]
;
for
(
let
l
=
0
;
l
<=
2
;
++
l
)
{
a
[
i
]
[
l
]
=
[
]
}
}
return
a
}
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
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML