LibArray
This is an implementation of a Javascript like array for numeric tables.
The following methodes are implemented:
- concat
- copyWithin
- entries
- every
- fill
- filter
- find
- findIndex
- flat
- flatMap
- forEach
- includes
- indexOf
- join
- keys
- lastIndexOf
- map
- pop
- push
- reduce
- reduceRight
- reverse
- shift
- slice
- some
- sort
- splice
- toLocaleString
- toSource
- toString
- unshift
- values
The full reference can be found at https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Array
Usage: To get a new array, simply call libArray:new() in your lua code.
Comments