Re:What’s New in ES2019
by STRML on Tuesday July 30, 2019 @11:08AM
(#20565487)
As in the MDN article:
So ES2019 implements trimStart() and trimEnd(), which are symmetrical to padStart() and padEnd(), but trimLeft() and trimRight() aliases are maintained as not to break working code.
[ Parent
| on HN ]
That makes sense, "left" trimming rtl text could be confusing.
Re:What’s New in ES2019
by soulofmischief on Thursday August 01, 2019 @10:42AM
(#20584095)
You're right, I was just being tongue-in-cheek.