> For the complete documentation index, see [llms.txt](https://osl.mistium.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://osl.mistium.com/legacy-osl-originos/prototype-helpers/.newarray.md).

# number.newArray

## Description

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

## Parameters

* **size** - length of the resulting array.

## Usage

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