DEV Community

Cover image for 8 Exciting New JavaScript Concepts You Need to Know

8 Exciting New JavaScript Concepts You Need to Know

Dipak Ahirav on July 09, 2024

As a developer, staying up-to-date with the latest advancements in JavaScript is crucial to writing efficient, modern, and scalable code. In this p...
Collapse
 
skamansam profile image
Samuel •

at() is inherited from the Array prototype, which is inherited by the String prototype. It is way more useful than with Strings, as it allows us to use negative indices on arrays, a feature JS has needed for quite some time, IMO. Instead of writing myArray[myArray.length-1] you can now use myArray.at(-1).

Collapse
 
remtech profile image
Remi Osisanya •

Thanks for the information.:)

Collapse
 
richardhovdsveen profile image
richardhovdsveen •

Finally!

Collapse
 
robertfoconnor profile image
Robert O'Connor •

Finally

Collapse
 
jamstra profile image
Jam Straw •

Last is most interesting.

Collapse
 
neha_gawali_cf75c5651a487 profile image
Neha Gawali •

globalThis new for me . thanks for information

Collapse
 
mahmoud_sayed_fbc6599eb8f profile image
Mahmoud Sayed •

great pieces of information tysm

Collapse
 
dipakahirav profile image
Dipak Ahirav •

Thank You so much @mahmoud_sayed_fbc6599eb8f

Collapse
 
sahilatahar profile image
Sahil Atahar •

Nice article!

Collapse
 
dipakahirav profile image
Dipak Ahirav • • Edited

Thank You so much @sahilatahar

Collapse
 
prashantsimejiyasiya profile image
prashantsimejiya-siya •

Good Article

Collapse
 
dipakahirav profile image
Dipak Ahirav •
Collapse
 
javad_mohammadi_bc75eac5b profile image
Javad Mohammadi •

thanks, I enjoyed

Collapse
 
dipakahirav profile image
Dipak Ahirav •

thanks for feedback @javad_mohammadi_bc75eac5b

Collapse
 
divyanz_pal profile image
Divyansh pal •

Found it to be Very helpful!

Collapse
 
dipakahirav profile image
Dipak Ahirav •

Thank you @divyanz_pal

Collapse
 
lokeshkavisth profile image
Lokesh Kavisth •

Very informative☺️

Collapse
 
dipakahirav profile image
Dipak Ahirav •
Collapse
 
prashantrajch profile image
Prashant Raj •

Nice Article 👍