From 17f391e643a3a6770c45d1670fff198f0bd4d50c Mon Sep 17 00:00:00 2001 From: scaredduck Date: Sat, 25 Mar 2017 14:19:16 +1100 Subject: [PATCH] Clarify i++ notation --- js/level2.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/level2.js b/js/level2.js index 0d1fc46..9124f70 100644 --- a/js/level2.js +++ b/js/level2.js @@ -236,6 +236,8 @@ We can use a 'for loop' to iterate through our array and get each value from it. + Note: i++ is another way of writing i = i+1. + Example: var animals = ['cats', 'dogs', 'horses];