.toStr()

Description

Serialises the array to a JSON string. This is shorthand for JsonStringify().

Parameters

None.

Usage

log [1,2].toStr()
// "[1,2]"

Last updated

Was this helpful?