Platform
Resources
Pricing
Sign in
Get started
Bruce He
Biu biu biu...
Workspace
Fork
Published
By
Bruce He
Edited
Apr 12, 2022
Insert cell
Insert cell
{
let
draft
=
immer
.
createDraft
(
{
a
:
1
,
b
:
{
c
:
2
}
}
)
;
let
obj
=
{
b
:
draft
.
b
}
;
obj
.
b
.
c
=
1
;
return
immer
.
finishDraft
(
draft
)
;
}
Insert cell
immer
=
require
(
"immer"
)
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
immer
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML