mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-04 13:57:38 +02:00
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.
This commit is contained in:
@@ -207,7 +207,7 @@ while (true){
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Do-while loops are like while loops, except they always run at least once.
|
// Do-while loops are like while loops, except they always run at least once.
|
||||||
var input
|
var input;
|
||||||
do {
|
do {
|
||||||
input = getInput();
|
input = getInput();
|
||||||
} while (!isValid(input))
|
} while (!isValid(input))
|
||||||
|
Reference in New Issue
Block a user