This episode discusses the differences between dot notation syntax and square bracket syntax. Full Interview question playlist: • JS Interview - Timeout... Starter Code GIST: gist.github.co...
Пікірлер: 44
@apex-lazer11 ай бұрын
You are gold. Seriously. You somehow make things click and are so easy and enjoyable to listen to and learn from. ☝️ From the bottom of my heart. Thank you brother 🙏
@MsRamrad5 жыл бұрын
It's a shame that I did not discover your channel earlier. You have a gift for breaking down and explaining concepts really well.
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Thanks. Please share the channel to help others discover it
@johnclampet44973 жыл бұрын
Just made my life a lot easier... just started in Javascript yesterday I also appreciate the Supernatural reference!
@wambuafredrick68813 жыл бұрын
The voice instills the knowledge :)
@elilumilay94052 жыл бұрын
Such a calm voice. Perfect for a coding professor! :D thank you Steve. I came here after encountering a same topic in freecodecamp
@liberato093 жыл бұрын
Wow that was really well explained. thx my dude. your dog ear slapping in the background cracked me up at the end
@abdelmoneimnafea84985 жыл бұрын
Such an amazing series ... thanks Steve
@aricwilliamsdeveloper4 жыл бұрын
lol wow! professor steve breaks it down like a chiropractor! liked & subscribed
@mattparkinson39543 жыл бұрын
Thankyou for this simplified explanation, really helpful! I shall be subscribing and watching more of your videos.
@leroyal85103 жыл бұрын
Woah! I love programming and I love SUPERNATURAL too!
@raychard1232 жыл бұрын
Hears "Dean" and "Sam" while landing on your page within 5 seconds. Like button Smashed!! #Supernaturalfam.
@mohpish3 жыл бұрын
Amazing explanation... couldn't do anything else but to subscribe... thank you
@sashab44322 жыл бұрын
The reason why last one won't work is because the last 'castiel' is not a string. it's 'value' is undefined. so it will search by its value, & not by its name. We need to search by its name. So if we search it as a string 'castiel', then we will get the result.
@eminm63834 жыл бұрын
very nice & clear explanation. Loved.
@gomogovo49665 жыл бұрын
I'll be damned if that is not a "reference" to Supernatural...
@nicolaregiacorte83283 жыл бұрын
Right to the point as always, thank you good Sir! =)
@EugeneVilder3 жыл бұрын
I'm a fan of Supernatural too :) Dean rules... Tnx for your videos.
@frank34813 жыл бұрын
Hi 4:04 Line 16, isn't it "not defined" instead of "undefined"? so even if you have undefined property inside "sam", it would still make ReferenceError errors.
@kamalsharma28392 жыл бұрын
I am also thinking same
@njamdagani4 жыл бұрын
At 4:23 castiel is not defined, you said it is undefined ?
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
Yes. you are correct. `castiel` will be not defined in the last statement and that will be the reason for the failure of that line.
@21rogerwaters4 жыл бұрын
Steve, the first two console.log should return an error like the third one, but it doesn't 🤔: let dataTypes = { null: 'oi', undefined: 'olá', object: 'hhhhh' } console.log(dataTypes[null]) // => 'oi' - it works (why?) console.log(dataTypes[undefined]) // => 'olá' - it works (why?) console.log(dataTypes[object]) // => Uncaught ReferenceError: object is not defined - it did'n work (as espected)
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
null - is a keyword undefined - is a keyword object - is not a keyword. Therefore using `object` as a key in the object means a reference error. If you used `Object` as the key then you would be referring to the constructor function Object...meaning no error. All Object keys are strings. So, null becomes "null". undefined becomes "undefined". Object becomes "Object". Then all three could store a value.
@21rogerwaters4 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 it makes sense. Thank you so much Steve 🙏
@kamalsharma28392 жыл бұрын
Why Castiel would be undefined in last one ???
@SteveGriffith-Prof3ssorSt3v32 жыл бұрын
because there is no variable called castiel.
@abdulazeezatanda23714 жыл бұрын
Do you use an extension on VSCode that makes your triple equals === and arrow notations => show differently?
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
It is the Jet Brains Mono font in my theme
@abdulazeezatanda23714 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 Thanks
@doniaelfouly41423 жыл бұрын
thanks
@JohnDoe-rj2kf3 жыл бұрын
Dammit Sammy!
@RedEyedJedi4 жыл бұрын
four* log statements. Was that part of the test? haha
@hiro61642 жыл бұрын
nice
@quietackshon5 жыл бұрын
_Off topic_ 4:54 What was that sound?
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Wet dog shaking itself and its ears slapping the sides of its head.
@quietackshon5 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 Never would've picked it.