String.prototype.trim ( )
Return result of StringTrim abstract operation passing this value as thisArg, and TrimBoth as the type.
String.prototype.trimRight ( )
Return result of StringTrim abstract operation passing this value as thisArg, and TrimRight as the type.