JavaScript syntax: Difference between revisions

Content deleted Content added
Control structures: minor changes and additions
m If ... else: minor formatting change
Line 184:
===If ... else===
if (expr) {
statements;
} else if (expr) {
statements;
} else {
statements;
}