Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on New ES2019 JavaScript features. Parent comment
"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.
"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.