Комментарии:
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 🙏
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.
ОтветитьWhy Castiel would be undefined in last one ???
ОтветитьSuch a calm voice. Perfect for a coding professor! :D thank you Steve. I came here after encountering a same topic in freecodecamp
Ответитьnice
ОтветитьThe voice instills the knowledge :)
ОтветитьWoah! I love programming and I love SUPERNATURAL too!
ОтветитьWow that was really well explained. thx my dude. your dog ear slapping in the background cracked me up at the end
ОтветитьDammit Sammy!
ОтветитьJust made my life a lot easier... just started in Javascript yesterday
I also appreciate the Supernatural reference!
Right to the point as always, thank you good Sir! =)
ОтветитьWell explained but I'm obviously to retarded to get it. O_0
Why are those props equal: dean['mary'] and sam.castiel?
dean['mary'] refers to the key of the dean-Object and sam.castiel to the sam's-Object key in my sense.
Why it will be accessing to props of both objects through the dean-Object every time and why does it work? ^^
thanks
ОтветитьThankyou for this simplified explanation, really helpful! I shall be subscribing and watching more of your videos.
ОтветитьAmazing explanation... couldn't do anything else but to subscribe... thank you
ОтветитьI'm a fan of Supernatural too :) Dean rules...
Tnx for your videos.
very nice & clear explanation. Loved.
ОтветитьDo you use an extension on VSCode that makes your triple equals === and arrow notations => show differently?
Ответитьlol wow! professor steve breaks it down like a chiropractor! liked & subscribed
Ответить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)
four* log statements. Was that part of the test? haha
ОтветитьSuch an amazing series ... thanks Steve
ОтветитьI'll be damned if that is not a "reference" to Supernatural...
ОтветитьIt's a shame that I did not discover your channel earlier. You have a gift for breaking down and explaining concepts really well.
ОтветитьI just use Console.table(OBJECT), cause I'm a lazy boi
Ответить