Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-p committed Feb 12, 2024
1 parent 7cdae6f commit 093ae8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus/docs/guides/types/arrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ y[0] = 4
log(y) // [4, 2, 3]
log(x) // [4, 2, 3]

const z = clone(z)
const z = clone(x)
z[1] = 5

log(x) // [4, 2, 3] note x has NOT changed
Expand Down

0 comments on commit 093ae8a

Please sign in to comment.