We take a look at the spread syntax (...) in Javascript together and it's use with Arrays and Objects specifically. This is a newer Javascript syntax that allows us to quickly make copies of Iterables and Objects with less and more readable code.
This is part of a series where we go over Javascript in depth to learn programming concepts as well as web development: • Javascript In Depth
Chapters:
00:00 Introduction
00:58 Iterable Recap
01:45 Spread Syntax Uses
02:31 Array Spread
03:41 Array Spread Code Example
08:50 String Spread
09:31 String Spread Code Example
10:38 Set Spread
11:17 Set Spread Code Example
13:24 Map Spread
15:33 Map Spread Code Example
18:22 Object Spread
20:02 Object Spread Code Example
26:29 Object Spread Duplicate Keys
30:16 Shallow Copy Array Spread
36:04 Shallow Copy Object Spread
40:47 Next steps
📦 Github Repository with the notes and exercise code+solutions: https://github.com/Nooder/javascript-...
💬 Come join us on Discord to chat with a like-minded community about tech and learning: / discord
🏅Support the channel and content through Super Thanks, Channel Memberships, or on Patreon: / techwithnader
Sur cette page du site, vous pouvez voir la vidéo en ligne Array and Object Spread Syntax - Javascript In Depth durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Tech with Nader 27 octobre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,376 fois et il a aimé 128 téléspectateurs. Bon visionnage!