For the complete documentation index, see llms.txt. This page is also available as Markdown.

number.newArray

Description

Creates a new array with size elements, each initialised to null.

Parameters

  • size - length of the resulting array.

Usage

arr = 5.newArray()
// [null,null,null,null,null]

Last updated