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
In questa pagina del sito puoi guardare il video online Array and Object Spread Syntax - Javascript In Depth della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Tech with Nader 27 ottobre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,376 volte e gli è piaciuto 128 spettatori. Buona visione!