Javascript tutorial for beginners | Expression Evaluation | #javascript #beginners #coding #shorts

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

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

Explanation:
Javascript always evaluates expressions from left to right.

In the first expression, as "1" is a string it will concatenated to 2 then the value will be "12". The updated value "12" will again be concatenated with 3. So, the final value will be "123".

In the second expression, as 1&2 are numbers, they will be added. The updated value will be 3. The number 3 will be concatenated with string "3". So, the final value will be "33".

Check out for full video :

Please do Like, Share, Subscribe and Support for more !!

CodeProgression-ldxv
welcome to shbcf.ru