JavaScript can be so weird #computerscience #softwareengineer #javascript

preview_player
Показать описание

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

here i'm think
1 + -"1" equal int 0
because -"1" will go to -1 integer
so 1 + -1 equal 0
then 0 + "2" will go to "02"
because the + will change any integer to string if one or more is string
so it will "02"
that what i got on my script all the time. always parse to integer first for every i think it was string before add to another variable

ammarammar-tojv
Автор

JavaScript sucks 😂
JavaScript options just pick the mad one

saltech
Автор

It’s a syntax error because you can’t have + - next to eachother.

blueGD
Автор

Don't give such bad ideas to other programmers. They will make the code unmaintainable.

sudhanshuprasad
Автор

So I just logged in kira learning and to join a course I need a invite code, 😅 So can I know about where from I can start to practice coding?? In kira or not.

Touchwood_