wiki/content/20201116100345-trim.md

367 B

date id title
20201116 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)