String.prototype.trimStart / String.prototype.trimEnd
小于 1 分钟
String.prototype.trimStart
/ String.prototype.trimEnd
类型
interface String {
trimLeft(): string;
trimRight(): string;
trimStart(): string;
trimEnd(): string;
}
入口点
core-js/proposals/string-left-right-trim