mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-18 13:49:59 +01:00
Couple of tiny tweaks.
This commit is contained in:
@ -71,6 +71,7 @@ are shifted up to fill in where the removed element was.
|
||||
|
||||
Returns the removed item.
|
||||
|
||||
:::wren
|
||||
System.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