There's nothing convenient about changing to it, but a must use feature in ECMAScript 2022 is the .at() method! How is "at" different than charAt? Or how is it different than bracket notation? Why would you want to use it? (If you are coming from Python or R you will be very excited) .Join Rob on Javascript Tuesday as he delves into the advantages of using .at() for arrays and strings over bracket notation, slice, and charAt(). Say goodbye to cumbersome coding with .at() and start writing better JavaScript today! Don't forget to subscribe for more insightful updates on ECMAScript and JavaScript improvements.
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...
ES playlist: EcmaScript Updates: • EcmaScript Updates
0:00 - Introduction
0:40 - What is the point of this...
2:00 - The Docs (and the point)
3:30 - Negative indices that work!
4:00 - Goodbye .length - 1
5:50 - Use it!
Watch video The .at() 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 20 February 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 964 once and liked it 37 people.