Destructuring Syntax - Javascript In Depth

  Рет қаралды 1,534

Tech with Nader

Tech with Nader

Күн бұрын

Пікірлер: 14
@kepdani
@kepdani Жыл бұрын
very nice explanation as always:D
@tt2318
@tt2318 Жыл бұрын
nice content keep it up and make more js junior mock interviews i struggle with how i need to think solve problems even if i know the "rules" of js
@mitesh5189
@mitesh5189 Жыл бұрын
in Map object to add an item and key you need to use Set insted of add
@TechWithNader
@TechWithNader Жыл бұрын
Hey Mitesh! I always mix these up, you're correct, haha! 😊
@Proton_uio
@Proton_uio Жыл бұрын
Oh I see, I suppose it is better to just access directly using dot or bracket for objects than use destructuring as it may be confusing and lengthier. However, with an object of many keys, then the use of ...rest to filter out is actually good.
@Proton_uio
@Proton_uio Жыл бұрын
I mean yes for one propery, but if with multiple properties, destructuring could be helpful though.
@KRAKENBACK..
@KRAKENBACK.. Жыл бұрын
If you were to try and make a copy of an itterable with destructuring syntax, would the copies only work if the itterable contained only primitives? Asking because if the itterable contained non-primitives it would only make references, and if you changed the reference it would change both the "copy" and the original variable.
@KRAKENBACK..
@KRAKENBACK.. Жыл бұрын
I may have answered my own question lol
@TechWithNader
@TechWithNader Жыл бұрын
Haha, looks like you figured it out, nice! Primitives are always copies no matter what, and everything is a reference even here 😊
@sportstv9104
@sportstv9104 2 ай бұрын
Keep going
@shivamgupta3652
@shivamgupta3652 2 жыл бұрын
Perfect
@TechWithNader
@TechWithNader 2 жыл бұрын
Thanks Shivam! We'll be using this a lot as we work through JS together 😄
@TechWithNader
@TechWithNader 2 жыл бұрын
Forgot to mention that I just started up the Discord server if you're interested in joining: discord.gg/Qkc62kpsKr
@shivamgupta3652
@shivamgupta3652 2 жыл бұрын
@@TechWithNader well this is an important thing. Thanx for starting this
Exercises: Destructuring Syntax - Javascript In Depth
28:13
Tech with Nader
Рет қаралды 1,1 М.
Generators - Javascript In Depth
43:18
Tech with Nader
Рет қаралды 2,2 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Array and Object Spread Syntax - Javascript In Depth
41:50
Tech with Nader
Рет қаралды 1,9 М.
JavaScript DESTRUCTURING in 8 minutes! 💥
8:41
Bro Code
Рет қаралды 26 М.
Learn React the Simple Way: A Beginner-Friendly Guide
39:40
Jess Chadwick
Рет қаралды 179
Symbols - Javascript In Depth
28:54
Tech with Nader
Рет қаралды 2,8 М.
DNS, IP Addresses & Ports - Rest APIs In Depth
32:16
Tech with Nader
Рет қаралды 2 М.
Recursion - Javascript In Depth
1:07:58
Tech with Nader
Рет қаралды 2,7 М.
The Return of Procedural Programming - Richard Feldman
52:53
ChariotSolutions
Рет қаралды 48 М.
GET Requests - Rest APIs In Depth
1:09:07
Tech with Nader
Рет қаралды 1,4 М.
Server Side Data Storage - Rest APIs In Depth
51:58
Tech with Nader
Рет қаралды 888
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН