array.toString()

Convert an Array to a String.

Signature

toString() => String

Description

Converts an Array to a String representation.

The calling Array isn’t changed.

Parameters

None

Return value

Type Description

String

String representation of the Array.

Examples

[1, 2].toString()
"[1, 2]"

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!