Комментарии:
haha i spent too long trying to figure this out with google, just to fully understand it a minute into this video. Thanks!
ОтветитьThank you!!! Didnt make sense until I watched this video
Ответить10 minutes ago, I was asked this question in a mentoring session, And the answer I gave was not up to the mark; Thank-you @Web Dev Simplified, for such simple, yet very useful little information!
ОтветитьWhat extensión are you using on vscode?
ОтветитьI left freecodeacademy to come understand it here.. Thanks
Ответить.... Chop lucid Indianapolis. UNM 1991 lobo Theodore .....===================
ОтветитьKyle should have mentioned the actual terms of == and === because that is where the confusion clears out. A double equals is "abstract" and triple equals is "strict". People who use the abstract equals should be aware of it before using it.
ОтветитьYou didnt explained about comparing between two pass by reference data which have same value.
ОтветитьAppreciate the help
ОтветитьIn my opinion the implementation of equals signs is evidence that Javascript is a hideous language. Maybe it started out with good intention of being simple or easy, but out of bad design and lack of forethought has grown into a language that encourages bad coding practice and gives the programmer loads of scope to get things wrong. For what? To save some typing? If you want to code then learn to f**** type.
ОтветитьPerfect Explanation!!
ОтветитьYou are awesome sir
I am watching your tutorial about 2 hours every day to learn and develop my skill
Go ahead
typescript is the best
just saying
I think i got it.. so I are you saying double == is saying 0 or 1 etc is equal to a empty space, because a empty space is also a character? Or if it was a letter or word etc instead of that empty space
But when you use triple === it means it only allows that 1 to be true if that empty space is also another number, but as it is a empty space it will treat it as a non number, so it would mean it is false, when using ===?
don’t go to chuckecheese no more
Ответитьmuchas gracious
Ответитьthanks
ОтветитьA sticker on a chunky cheers mirror send me to this video when I scanned it
Ответитьi found this qr code in cuck e cheese and it led me here
Ответить"You need to stop, you need to stop, ..."
ОтветитьLast thing is "single quotes"
ОтветитьI know it's 2021 now, but, blindly, I'll say that Kyle likes using the unstrict "!=" with "null" that's a variation of what he despises in this video. If this is the one use case he accepts, I'll feel so dumb...
EDIT: [true, this[0]]
["WHAT THE HECK?!?", this[0]]
Thanks
Ответитьthank you thank you
ОтветитьYou said that 'obviously 0 is not the same as false'. But in C, C++, Python (and even maths) false is literally 0
So I assume that in JS false is a completely different data type right? For me it makes a lot more sense that false is just fancy way of saying 0
You may or may not know this but you don't know just how valuable these short one-off, advisory videos actually are to the development community. They are just as valuable, if not more, than a lengthy full-featured tutorial video. Please continue making more!
ОтветитьThe best video on this topic ever! Concise and well elaborated. Thank you
ОтветитьWhat about cases in comparing arrays and objects? [0] === [0] returns false.
Ответить==
Ответитьdoes that apply only in javascript?
ОтветитьDouble equals is also slower due to the type casting
ОтветитьThanks sir <3
ОтветитьAwesome video. Could you maybe also do a video on what the difference between ' and " are, if there are any? Codacy always tells me, I should use " instead of '
ОтветитьBetter yet, simply learn the rules of coercion (you've already shared most of them here, which was the real value of this video!). Only a few of them are unintuitive (like [anything] == [boolean]), but when do you actually write expressions like that if you're not a crazy person? For the informed, coercion is a convenient tool that, as you've said, other languages don't have.
You have to weigh the cost of encouraging devs to be lazy and scared vs. the risk of them doing damage with ==. The former is real. People start thinking they "know js" because they use === (which is *anti knowledge*) and they become complacent. Once coercion is understood, the latter is nearly nonexistent.
Honestly , you make it easy to understand for those who are not familiar in JS
ОтветитьDope channel! You need a few thousand subs!
ОтветитьEnjoying your videos, man. What software do you use to record your videos/share your screen? I've been thinking about doing some tutorials myself.
ОтветитьYou're getting better with every video dude, good work.
ОтветитьSo doubles are acting as an assignment operator?
ОтветитьGreat video as always!
Ответить