spelling: whitespace

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-03-22 00:08:58 -04:00
parent f3f083f4fa
commit 26d2c0d2dc

View file

@ -698,7 +698,7 @@ function parseUrl(str, component) {
return uri; return uri;
} }
// trim function to replace whithespace after the string // trim function to replace whitespace after the string
String.prototype.rtrim = function () { String.prototype.rtrim = function () {
var trimmed = this.replace(/\s+$/g, ""); var trimmed = this.replace(/\s+$/g, "");
return trimmed; return trimmed;