Skip to content

Commit 832eea3

Browse files
committed
Chore: Simplify type declaration for variable x in lesson11.ts
1 parent bb681d1 commit 832eea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lesson_11/arrays_ts/src/lesson11.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ console.log(result.join(' '))//Prints the test result out for the fet concatenta
4545

4646

4747
const words: string[] = ['leet', 'code', 'hello', 'world']; //Array of strings based on test case
48-
const x: string = 'e'; //Calls for a specific char
48+
const x = 'e'; //Calls for a specific char
4949
console.log(findWordsContaining(words, x));
5050

0 commit comments

Comments
 (0)