Skip to content

Commit 31568a0

Browse files
committed
change example
1 parent 4e61409 commit 31568a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

assignments/arrays.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ let inventory = [
5757

5858
// Example for loop:
5959

60-
// arr = [1,2,3,4];
60+
// arr = ['a', 'b', 'c', 'd'];
6161
// for (let i = 0; i < arr.length; i++) {
62-
// arr[i]; // 1,2,3,4
63-
// }
62+
// console.log(arr[i]);
63+
// } // 'a' 'b' 'c' 'd'
6464

6565
// ==== Challenge 1 ====
6666
// The dealer can't recall the information for a car with an id of 33 on his lot. Help the dealer find out which car has an id of 33 by logging the car's year, make, and model in the console log provided to you below:

0 commit comments

Comments
 (0)