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
On this page of the site you can watch the video online Array and Object Spread Syntax - Javascript In Depth with a duration of hours minute second in good quality, which was uploaded by the user Tech with Nader 27 October 2022, share the link with friends and acquaintances, this video has already been watched 2,376 times on youtube and it was liked by 128 viewers. Enjoy your viewing!