mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 22:28:45 +01:00
Fix typo in docs.
This commit is contained in:
@ -39,7 +39,7 @@ are shifted up to fill in where the removed element was.
|
||||
|
||||
Returns the removed item.
|
||||
|
||||
IO.print(["a", "b", "c"].removeAt(1) // "b".
|
||||
IO.print(["a", "b", "c"].removeAt(1)) // "b".
|
||||
|
||||
It is a runtime error if the index is not an integer or is out of bounds.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user