There was an error while loading. Please reload this page.
1 parent af33811 commit 336821fCopy full SHA for 336821f
1 file changed
Sprint-3/3-mandatory-implement/2-cases.js
@@ -16,7 +16,7 @@
16
// This might help https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toUpperCase
17
18
function upperCase(str) {
19
- returnUpperCase = str.toUpperCase().replaceAll(" ", "_")
+ const returnUpperCase = str.toUpperCase().replaceAll(" ", "_")
20
return returnUpperCase
21
}
22
console.log(upperCase("what is your name mr man? "))
0 commit comments