Skip to content

Commit c308f99

Browse files
committed
remove the comment lines
1 parent 4fb372d commit c308f99

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎Sprint-2/1-key-exercises/2-initials.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ const firstName = "Creola";
22
const middleName = "Katherine";
33
const lastName = "Johnson";
44

5-
// Declare a variable called initials that stores the first character of each string.
65

7-
// This should produce the string "CKJ", but you must not write the characters C, K, or J in the code of your solution.
6+
7+
88

99
const initials = `${firstName[0]}${middleName[0]}${lastName[0]}`;
1010
console.log(initials);
1111

12-
// https://www.google.com/search?q=get+first+character+of+string+mdn
12+

0 commit comments

Comments
 (0)