Skip to content

Commit 555b848

Browse files
committed
done 0.js
1 parent 71fe9f0 commit 555b848

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sprint-2/errors/0.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66

77
/*
8-
we are creating a variable with (let = nameVariable) but the same time we can not assing
8+
we are creating a variable with (let = nameVariable) but the same time we can not reassign
99
the value in the same line.
10-
instead we should call directly the (str = valueAssigned) and with this will Worker.
10+
instead we should call directly the (str = valueAssigned) and with this will Work
1111
*/
1212

1313

@@ -30,7 +30,7 @@ console.log(capitalize("alejandra"));
3030

3131
/*
3232
In this function we are taking a parameter the string "alejadra" this
33-
entry in the function and assigned in the str = takin the firs character[0].toUpperCase()
33+
entry in the function and assigned in the str = taking the firs character[0].toUpperCase()
3434
and using the function upper... to convert this in capital letter.
3535
but we still need the rest of the string and we use the interpolation to concatenate
3636
the rest calling the string from the position 1 with str.slice(1).

0 commit comments

Comments
 (0)