Array.of
of — Creates an array.
Description
Array.of([mixed params, …])
Parameters
Name | Description | Type | Default | Optional |
---|---|---|---|---|
params, … | mixed | Yes |
Return values
array
Changelog
Version | Description |
---|---|
ES 6 | Introduced. |
Examples
Example #1 – of example
Example #2 – of example