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

preview_player
Показать описание
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.

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!
Рекомендации по теме
Комментарии
Автор

Nice video, you just earned your 1000th subscriber! :)

Chameleonll
Автор

Short and valuable. You have my subscription 🙏🏼

andreaswagner_dev
Автор

got to learn a new thing today thanks .

Suraj.
Автор

Fine explanation, but it could've fit in 3 minutes.

JPeetjuh
visit shbcf.ru