Skip to content

Commit df13c6c

Browse files
committed
Updated complete lesson 7
1 parent cbeea60 commit df13c6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

complete/lesson7/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
<body>
2121
<script>
2222
const npcs = [];
23-
const useWhile = true;
23+
const useFor = true;
2424

25-
if (useWhile){
25+
if (useFor){
2626
for(let i=0; i<10; i++){
2727
npcs.push(createNPC());
2828
}

0 commit comments

Comments
 (0)