Skip to content

Commit

Permalink
Update slide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hax authored Nov 29, 2023
1 parent bcdbfaa commit 22f0fc6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions 2023/slice/slide.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,11 @@ Solution

```ts
let a = [1, 2, 3]

a[^1] // 3
a[^1]++
a[^1] // 4

a[0:^1] // [1, 2]
a[1:^0] // [2, 4]

// follow-on proposal
a[0:2] = [6, 5]
a // [6, 5, 4]
Expand Down

0 comments on commit 22f0fc6

Please sign in to comment.