Treats the number as a string, appends val, and returns the resulting string.
val
val — value to append (converted to string first).
log 42.append("px") // "42px"
Last updated 3 months ago