added reference to nested blocks (#25659)

This commit is contained in:
Jacobmpp
2018-10-25 08:57:51 -05:00
committed by Paul Gamble
parent d3e2680e57
commit d3f022fbf9

View File

@ -29,3 +29,11 @@ The **block** statement is commonly used with control flow statements (e.g. `if.
sum = num1 + num2;
return sum;
}
#### Nested Blocks
for(var i = 0; i < 10; i++){
for(var j = 0; j < 10; j++){
console.log(i + ", " + j);
}
}