New Array findLast and findLastIndex JavaScript methods

preview_player
Показать описание
Recently a couple new Array methods have been added to JavaScript in both NodeJS and in the Browser.

Рекомендации по теме
Комментарии
Автор

tnx for the whole course. i learned a lotta things🙂

hamidRaven
Автор

Thanks for the video. although after being working as a dev now for almost 1 year I now find myself not really impressed by these updates to javascript. they take so long for the simplest things to be available and at this point very redundant. the time it will take me to do this without this methods is better than me hoping that nothing breaks after I start using the new method. since a lot of stacks are piled ontop of each other it's hard to even think about what new methods you have in the particular codebase you are writing in. like Sonia Blanche suggested I'd rather just write it manually.

brod
Автор

findLast is basically array.reverse().find() and findLastIndex is basically array.reverse().findIndex()

soniablanche
join shbcf.ru