Skip to content

Commit 92182be

Browse files
debug2604debug2604
authored andcommitted
fix CRLF to LF
1 parent 5cc5f90 commit 92182be

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
const firstName = "Creola";
2-
const middleName = "Katherine";
3-
const lastName = "Johnson";
4-
5-
// Declare a variable called initials that stores the first character of each string.
6-
// This should produce the string "CKJ", but you must not write the characters C, K, or J in the code of your solution.
7-
8-
const initials =
9-
firstName.charAt(0) + middleName.charAt(0) + lastName.charAt(0);
10-
console.log(initials);
11-
12-
// https://www.google.com/search?q=get+first+character+of+string+mdn
1+
const firstName = "Creola";
2+
const middleName = "Katherine";
3+
const lastName = "Johnson";
4+
5+
// Declare a variable called initials that stores the first character of each string.
6+
// This should produce the string "CKJ", but you must not write the characters C, K, or J in the code of your solution.
7+
8+
const initials =
9+
firstName.charAt(0) + middleName.charAt(0) + lastName.charAt(0);
10+
console.log(initials);
11+
12+
// https://www.google.com/search?q=get+first+character+of+string+mdn

0 commit comments

Comments
 (0)