Тёмный

JavaScript Array with() Method (new in ES 2023) 

Deborah Kurata
Подписаться 16 тыс.
Просмотров 3,1 тыс.
50% 1

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@dg-cg5gi
@dg-cg5gi 7 месяцев назад
Any chance for a long video on Angular 17 enhancements? Like a similar course that you have on Pluralsight? Would love to watch that and learn!
@danielabonvini
@danielabonvini 8 месяцев назад
Hi Deborah, great video as always! I was wondering: is with() almost the same as toSpliced() with the only difference the fact that you can't optionally select only a part of the array to copy instead of all the elements?
@deborah_kurata
@deborah_kurata 8 месяцев назад
Thanks! with() is being focused on changing one element. toSpliced() is more flexible and allows for removing items, replacing one element with multiple elements, and inserting new elements
@attoumak
@attoumak 8 месяцев назад
They could have chosen an explicit name, why naming it with() instead of replace() 😞
@deborah_kurata
@deborah_kurata 8 месяцев назад
Yeah, it would have been interesting to have been in that conversation! 😄
@fieryscorpion
@fieryscorpion 8 месяцев назад
That was an excellent summary of .with(). Your teaching style is second to none. Thank you! Would you also make videos/books on .NET and Java/ Spring Boot?
@deborah_kurata
@deborah_kurata 8 месяцев назад
Thank you very much! I did one .NET/C# video and it didn't get many views. But maybe I'll try again? Sorry to say that I don't know Java/Spring Boot. Thanks again!
@fieryscorpion
@fieryscorpion 8 месяцев назад
@@deborah_kurata Thank you. After .NET community sees your videos, they’ll be hooked! 😀
@deborah_kurata
@deborah_kurata 8 месяцев назад
@@fieryscorpion That is kind of you to say. Thank you!
@עומרלובקו
@עומרלובקו 7 месяцев назад
MY IDOL
@deborah_kurata
@deborah_kurata 7 месяцев назад
😊
@StephenRayner
@StephenRayner 8 месяцев назад
Please stop using let 😢😂… you will have all these people coding immutable which is not good unless it’s needed. Use const
@deborah_kurata
@deborah_kurata 8 месяцев назад
Let's think though this a moment. Say I have an array bound to a UI element. Let's call that variable "ages". If I want to modify that array *and* have it appear updated in the UI, I need to change that same variable to a new array. I can do that in an *immutable* way by creating a new array and assigning it to that same variable. To change the variable, I need a "let".
@OCEMTechZone
@OCEMTechZone 8 месяцев назад
🎉
@richarddefortune1329
@richarddefortune1329 8 месяцев назад
Great as usually
@deborah_kurata
@deborah_kurata 8 месяцев назад
Thank you!
@ashishnayak2666
@ashishnayak2666 8 месяцев назад
Awesome explanation 👏
@deborah_kurata
@deborah_kurata 8 месяцев назад
Thank you 🙂
@dee.s.4513
@dee.s.4513 8 месяцев назад
Deborah, please zoom in on your code text. And, more JS videos please.
@deborah_kurata
@deborah_kurata 8 месяцев назад
Thank you for the suggestions!
Далее
Build Generalized DRY Angular Code with Generics
14:44
JavaScript Array sort() vs toSorted() (new in ES 2023)
7:28
Airpod Through Glass Trick! 😱 #shorts
00:19
Просмотров 1,4 млн
Iran launches wave of missiles at Israel
00:43
Просмотров 816 тыс.
20+ Must Know Array Methods That Almost Nobody Knows
11:47
10 JavaScript changes you missed in 2023
5:56
Просмотров 717 тыс.
RxJS in Angular: Terms, Tips, and Patterns
43:01
Просмотров 31 тыс.
JavaScript Array Mastery: Tips, Tricks & Best Practices
1:02:49
JavaScript Visualized - Closures
11:34
Просмотров 42 тыс.