Skip to main content Skip to complementary content

toArray

Returns an array containing the values specified.

Arguments

Values to add to the array. If no argument is provided, an empty array is created.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!