.prepend(val)

Description

Casts the current number to a string, prepends val, and returns the combined string.

Parameters

  • val — value to place in front (converted to string).

Usage

log 99.prepend("ID-") // "ID-99"

Last updated

Was this helpful?