summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNimit Kalra <nimit@nimitkalra.com>2015-02-25 10:03:19 -0600
committerNimit Kalra <nimit@nimitkalra.com>2015-02-25 10:03:19 -0600
commit08b0596e45feff0b292f295f52d82a80ab8624c2 (patch)
tree0b1d21766a270e7133f0a505702c9262a1d7432c
parent0f8b48e977b02887410ec003b6056842c38d4d8c (diff)
Add semicolon to maximine consistency.
Added a semicolon to conform with statement at top of guide: // Because those cases can cause unexpected results, we'll keep on using // semicolons in this guide.
-rw-r--r--javascript.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript.html.markdown b/javascript.html.markdown
index f61e6c74..95808d05 100644
--- a/javascript.html.markdown
+++ b/javascript.html.markdown
@@ -207,7 +207,7 @@ while (true){
}
// Do-while loops are like while loops, except they always run at least once.
-var input
+var input;
do {
input = getInput();
} while (!isValid(input))