04 - Expressions versus statements in JavaScript | Essential Javascript for React

Published: 21 August 2022
on channel: Mohammed Elzanaty
446
42

in this video, I will explain the main difference btw Expressions versus statements in JavaScript

JavaScript distinguishes expressions and statements. An expression produces a value and can be written wherever a value is expected, for example as an argument in a function call.

Wherever JavaScript expects a statement, you can also write an expression. Such a statement is called an expression statement. The reverse does not hold: you cannot write a statement where JavaScript expects an expression. For example, an if statement cannot become the argument of a function.

🚀 Join Discord -   / discord  

▬ 🔗 Chapters ▬▬▬▬▬▬▬▬▬▬

⌛️ 00:00:00 Expressions versus statements
⌛️ 00:03:43 Subscribe
⌛️ 00:03:47 outro

▬ 🔗 Resources ▬▬▬▬▬▬▬▬▬▬
⭐️ Source Code: https://github.com/moelzanaty3/comple...
⭐️ Expressions versus statements: https://2ality.com/2012/09/expression...
⭐️ Statements Vs. Expressions : https://www.joshwcomeau.com/javascrip...

▬ 🔥 Contact Me ▬▬▬▬▬▬▬▬▬▬
🚀 BIO: https://moelzanaty3.bio.link/
💖 Become a Patron: Show support & get perks!   / mohammedelzanaty  
☕️ You Don't need to meet me to buy a coffee: https://www.buymeacoffee.com/moelzanaty3
🔗 GitHub: https://github.com/moelzanaty3
🔗 LinkedIn:   / moelzanaty3  
🔗 Twitter:   / moelzanaty3  
📪 mohammedelzanaty129@gmail.com

▬ ⚙️ My Equipment Gear ▬▬▬▬▬▬▬▬▬▬
🌟 https://kit.co/mohammdelzanaty/my-you...

▬ 🎨 My Editor Settings ▬▬▬▬▬▬▬▬▬▬
🌟 Night Owl Color Theme.
🌟 Dank Mono Font
or more information -    • My Code Editor:  Visual Studio Code, Setup...  


On this page of the site you can watch the video online 04 - Expressions versus statements in JavaScript | Essential Javascript for React with a duration of hours minute second in good quality, which was uploaded by the user Mohammed Elzanaty 21 August 2022, share the link with friends and acquaintances, this video has already been watched 446 times on youtube and it was liked by 42 viewers. Enjoy your viewing!