
line-clamp to trim lines of textMaster the CSS line-clamp property. Learn how to truncate text lines, ensure cross-browser compatibility, and avoid hidden UX pitfalls when designing modern web layouts.

Discover seven custom React Hooks that will simplify your web development process and make you a faster, better, more efficient developer.

Promise.all still relevant in 2025?In 2025, async JavaScript looks very different. With tools like Promise.any, Promise.allSettled, and Array.fromAsync, many developers wonder if Promise.all is still worth it. The short answer is yes — but only if you know when and why to use it.

Discover what’s new in The Replay, LogRocket’s newsletter for dev and engineering leaders, in the October 29th issue.
Hey there, want to help make our blog better?
Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.
Sign up now
6 Replies to "New and potential ES2019 JavaScript features every developer should be excited about"
Great overview of these new features! I’m excited for them!
There’s a tiny typo for String.trimEnd. The header of the section is missing the “d”: String.trimEn
This is a well-compiled list. Nice work!
The article’s title is misleading. How can you refer to features that are still in proposal stages with TC39 as “ES2019 JavasScript Features”? One of them is only at Stage 1!!!
Correct me if I’m mistaken, but I believe your `String.trimEnd()` example is incorrect (the sample output is trimming spaces off both sides).
No it doesn’t trim spaces from both ends, just from the end of the string.
Yea that one, although very hotly awaited, is like a throw-in from the future, should perhaps be a bonus item at the end?