String#trimLeft()
and String#trimRight()
are aliases of String#trimStart()
and String#trimEnd()
This rule is fixable.
const foo = bar.trimLeft();
const foo = bar.trimRight();
const foo = bar.trimStart();
const foo = bar.trimEnd();
String#trimLeft()
and String#trimRight()
are aliases of String#trimStart()
and String#trimEnd()
This rule is fixable.
const foo = bar.trimLeft();
const foo = bar.trimRight();
const foo = bar.trimStart();
const foo = bar.trimEnd();