Creates a new array with size elements, each initialised to null.
size — length of the resulting array.
arr = 5.newArray() // [null,null,null,null,null]
Last updated 3 months ago