Create a null prototype Array. The created array will have no methods.
npm i null-array
import NullArray from 'null-array'
const nullArray = new NullArray()
nullArray.length // returns 0
nullArray.push // returns undefined
import NullArray from 'null-array'
const nullArray = new NullArray('a', 'b', 'c')
nullArray.length // returns 3
nullArray.push // returns undefined
nullArray[-1] // returns 'c'