trim-right-xThis method removes whitespace from the end of a string.stringtrimrighttrimEndmodulejavascriptnodejsbrowser4.1.2 • Published 6 years ago