News for hackers. Stuff that matters.
Re:New ES2019 JavaScript features by lioeters on Thursday September 26, 2019 @08:38PM (#21087300)
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/Refe...

I suspect that trimLeft was misnamed, since its "left" didn't take into account RTL - it just meant start of string.

There are no comments on this comment yet.