2 ms·
I checked on MDN: "The trimStart() method removes whitespace from the beginning of a string. trimLeft() is an alias of this method." https://developer.mozilla
by lioeters 7y ago
I checked on MDN:
"The trimStart() method removes whitespace from the beginning of a string. trimLeft() is an alias of this method."
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/trimStart https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
I suspect that trimLeft was misnamed, since its "left" didn't take into account RTL - it just meant start of string.