wiki/content/20201116100345-trim.md

352 B

id title
544b3e28-5681-49b6-8054-0fd169a3f65c trim

Description

Removes all whitespace from both ends of a String. Combination of trimStart and trimEnd

Syntax

console.log(' abc '.t)