Skip to content

Commit 93de9cb

Browse files
authored
Update index.js
1 parent e559554 commit 93de9cb

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

index.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/**
88
* #1
9-
* Variables with a String as their value
9+
* Variables with a String value
1010
*
1111
* Declare variables named `firstName`, `lastName`, `birthPlace`, `favoriteFood`, `bestMovie`, `favLoveSong`, `cuteAnimal`, `favColor`, `favSneaker`, `coffeeShop`.
1212
* Fill out the values for these with your own data or make it up.
@@ -19,9 +19,9 @@
1919

2020
/**
2121
* #2
22-
* Variables with a Number as their value
22+
* Variables with a Number value
2323
*
24-
* Declare variables named `favoriteNumber`, `currentYear`, `thatOnePrinceSong`, 'tokyoOlympics`, `mariahCareyAge`, `currentTemp` and `studentsInClass`.
24+
* Declare variables named `favoriteNumber`, `currentYear`, `thatOnePrinceSong`, 'tokyoOlympics`, `mariahCareyAge`, `currentTemp`, `studentsInClass`, `numOfJapanPrefectures`, `currentIphoneModel` and `shoeSize`.
2525
*
2626
* Their values should be a Number
2727
**/
@@ -30,10 +30,9 @@
3030

3131
/**
3232
* #3
33-
* Variables with Boolean values
33+
* Variables with a Boolean value
3434
*
35-
* Declare variables named `isDaytime`, `isLeftHanded`, `inHawaii`,
36-
* and `isHappyCoding`
35+
* Declare variables named `likesMcDonalds`, `watchedMrRobot`, `ranMarathon`, `wrestledABear`, `lovesDonuts`, `readHarryPotter`, `sleptInClass`, `drinksCoffee`, `shopsAtWholeFoods` and `ownsRedShoes`.
3736
*
3837
* Their values should be a Boolean
3938
**/
@@ -42,13 +41,15 @@
4241

4342
/**
4443
* #4
45-
* Variables with null
44+
* Variables with a Null value
4645
*
47-
* Declare variables named `enrolledAtDevLeague` and `completedFridayPrep`
46+
* Declare variables named `completedPrepClass`, `traveledToMars` and `scoredInNFL`
4847
*
4948
* Their values should be a Null value
5049
**/
5150

51+
/*What is the difference between null and undefined?*/
52+
5253

5354

5455
/**

0 commit comments

Comments
 (0)