Avoiding JavaScript Type Conversion Issues - How Type Coercion Works

preview_player
Показать описание
In JavaScript, like generally in programming, you work with data - with values. And these values have different types. JavaScript requires certain types for certain operations and also freely converts between types. This can lead to unexpected behaviours - so here's how JavaScript type coercion works (and what it is).

----------

• Follow @maxedapps and @academind_real on Twitter

See you in the videos!

----------

Рекомендации по теме
Комментарии
Автор

Correction at 8:42: Objects are not primitve types but reference types. I'm sure it was a fluff :-) Thanks Max!

phantom
Автор

This video is just awesome about JavaScript coercion, haven't seen such a detailed and easy to learn video about this topic.

dibaliba
Автор

Man this is the best video I've seen which clearly explains coercion.

dDeV
Автор

12:38 – thats absolutely valid js expression

devope
Автор

Hi Max! Great video! Love your courses! At 8:43 you are saying that objects are primitive types. Sorry for the correction, I know it was just a tiny confusion.

godlerner
Автор

Thank you Max for this excellent video. I gained some new insights into javascript.

ntarunmenon
Автор

As usual your videos are amazing, Thanks Max. I thought this topic is difficult but watching your video and way of your teaching is excellent.

kirant
Автор

Very good 👍, I am looking for this video in details...

dhaneshdhanawade
Автор

Thanks Max all you tutorials are awesome.

gopinathkrm
Автор

Hey bro ... Thank you for such awesome content.
But i have one doubt . Can you please help me in that

I wanted to know the reason that why { } + [ ] is not equal to [ ] + { } in javascript.

kajalahuja
Автор

When can we expect your Algorithm course?

ProgramWithBalaji
Автор

Please can you explain why undefined == null is true

sachin-viwh
Автор

Can you make a video about vue native? I haven't really seen anyone talk about it

Alex-xwbc
Автор

Great Video, now I can bully my juniors !!

nerdophile
Автор

What do you advise me
Flutter or React native

ooo
Автор

.... and that's why typescript is hyped.

Microphunktv-jbkj
Автор

When the LEGENDARY Maximilian speaks out, all pple must carefully listen! Love you my favourite tutor.

davidjustice
Автор

Why the {} + [] = 0 and [] + {} = "[object Object]"?

aeconomopulos
Автор

Really nice job. I would like to answer you a couple of things. I created a professional website for my sister's husband with react js and the only thing that i have for back-end is the contact form which has been created with node-nodemailer. Can i host both front-end and back end somewhere and what do you suggest? Also how to make seo in react?

codito
Автор

Javascript looks dumber to me by the minute...
Can someone tell me where the benefits lie in this mess? (for devs)

joey
welcome to shbcf.ru