This is part 4 of the tutorial series Learn Javascript in Construct . This part continues on from part 3. So in case you missed it, see Learn Javascript in Cons...
You shouldn't have used the tildas around «i». Around «i» these quotes are used: '.