.append(val)
Description
Treats the number as a string, appends val, and returns the resulting string.
Parameters
val — value to append (converted to string first).
Usage
log 42.append("px") // "42px"Last updated
Was this helpful?