mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 17:42:27 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
509 B
509 B
if...else
The if...else statement executes a block of code if a condition is true, and an optional else block if it is false. Additional conditions can be checked with else if. It is the most basic form of conditional logic in JavaScript.
Visit the following resources to learn more: