Add space after while
statement for consistency
This commit is contained in:
@ -994,7 +994,7 @@
|
|||||||
"Another type of JavaScript loop is called a \"while loop\", because it runs \"while\" something is true and stops once that something is no longer true.",
|
"Another type of JavaScript loop is called a \"while loop\", because it runs \"while\" something is true and stops once that something is no longer true.",
|
||||||
"<code>var ourArray = [];</code>",
|
"<code>var ourArray = [];</code>",
|
||||||
"<code>var i = 0;</code>",
|
"<code>var i = 0;</code>",
|
||||||
"<code>while(i < 5) {</code>",
|
"<code>while (i < 5) {</code>",
|
||||||
"<code> ourArray.push(i);</code>",
|
"<code> ourArray.push(i);</code>",
|
||||||
"<code> i++;</code>",
|
"<code> i++;</code>",
|
||||||
"<code>}</code>",
|
"<code>}</code>",
|
||||||
|
Reference in New Issue
Block a user