String trimEnd() method

Find out all the information about the JavaScript trimEnd() method of the string

Returns a new string with blanks removed from the end of the original string

'Testing'.trimEnd() //'Testing'
' Testing'.trimEnd() //' Testing'
' Testing '.trimEnd() //' Testing'
'Testing '.trimEnd() //'Testing'

Download mine for freeJavaScript beginner's manual


More js tutorials: