You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 24548db
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: Sprint-3/1-key-errors/0.js
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,14 @@
17
17
// To fix this error, I could either give the variable a different name or reassign the parameter 'str' without 'let', since no new declaration is made
18
18
19
19
// =============> write your new code here
20
+
// function capitalise(str) {
21
+
// let capitalised = `${str[0].toUpperCase()}${str.slice(1)}`;
0 commit comments