File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
- // NOTE: Make sure to use the `var` keyword for ALL variable declarations
1
+ // NOTE: Make sure to use the `var` keyword for ALL variable declarations.
2
2
3
- // Create an array called `colors` that contains three colors (strings) .
3
+ // Create an array of strings called `colors` that contains three colors.
4
4
5
5
6
6
12
12
13
13
14
14
15
- // Create a `for` loop that pushes each item in `colors` into `favoriteColors`.
15
+ // Create a `for` loop that adds each string in `colors` to `favoriteColors`.
16
16
17
17
18
18
19
- // Create an `instructor` object that contains three key-value pairs.
19
+ // Create an object literal called `instructor` that contains three key-value pairs.
20
20
21
21
22
22
23
- // Add a `facial-hair` (written like that exactly) property to `instructor` by
24
- // accessing it (do not change the original object you typed above) and assigning it
23
+ // Add a `facial-hair` (spelled exactly) property to `instructor` by accessing
24
+ // it (do not change the original object you typed above) and assigning it
25
25
// a boolean value.
Original file line number Diff line number Diff line change @@ -6,8 +6,9 @@ var people = [
6
6
{ name : "Jasmine" , age : 39 }
7
7
]
8
8
9
- // Use the `map` array method to create a new array containing each person in the
10
- // `people` array's age. Assign the returned array to a variable called `peoplesAges`.
9
+ // Use the `map` array method to create a new array containing the ages of each
10
+ // person in the `people` array. Assign the returned array to a variable
11
+ // called `peoplesAges`.
11
12
12
13
13
14
You can’t perform that action at this time.
0 commit comments