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
📪 [email protected]
▬ ⚙️ 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, ...