Methods

[]ΒΆ

[](arr:Arr, idx:Int)

[](arr:Arr, idx:Int)

Get array element by index from the end
Source: stdlib.ngs:1314

idx

Negative index

Example

[10,20,30][-1]  # 30