list_create
Create a new list filled with a value
list_create(
number,
value
)
Create a new list filled with a value
Syntaxe
var list = list_create(10, 0); // creates [0,0,0,0,0,0,0,0,0,0]
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
number | yes | - | The number of elements | |
value | yes | - | The value or list to fill with |