Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-p committed Jan 28, 2024
1 parent 1d89a55 commit 63ac749
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 63ac749

Please sign in to comment.