The .toReversed() method - Unleash the Power of JavaScript Updates

Published: 16 April 2024
on channel: Good Morning Developers
423
15

Another awesome addition to JavaScript in ES14 (ECMAScript 2023), we get the toReversed method. It works just like .reverse() but it doesn't mutate the array in place. This is a quick but worthwhile update. Don't forget to hit subscribe and get all the updates to JavaScript!

Code: https://github.com/robertbunch/es-next
History of ECMAScript/JavaScript (long) -    • Visual Timeline of JavaScript and ECM...  
History of ECMAScript/JavaScript (shorter) -    • Visual Timeline of JavaScript and ECM...  

0:00 - Intro
0:30 - toReversed() and reverse()
2:05 - Code example
3:37 - Other notes from the docs (sparse, generic)


Watch video The .toReversed() method - Unleash the Power of JavaScript Updates online without registration, duration hours minute second in high quality. This video was added by user Good Morning Developers 16 April 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 423 once and liked it 15 people.