Description Trims the end of a JavaScript Strings. Opposite of trimStart. Syntax console.log(" abc ".trimEnd()); // " abc'