There was an error while loading. Please reload this page.
1 parent 09ae242 commit 8a05fa3Copy full SHA for 8a05fa3
1 file changed
Sprint-3/3-mandatory-implement/2-cases.js
@@ -15,9 +15,9 @@
15
// Use the MDN string documentation to help you find a solution
16
// This might help https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toUpperCase
17
18
-function UPPER_SNAKE_CASE(str) {
19
- let snake_case = str.replaceAll(" ", "_");
20
- return snake_case.toUpperCase()
+function convertToUpperSnakeCase(str) {
+ let snakeCase = str.replaceAll(" ", "_");
+ return snakeCase.toUpperCase()
21
}
22
23
-console.log(UPPER_SNAKE_CASE("have you ever had a krispy kreme"))
+console.log(convertToUpperSnakeCase("have you ever had a krispy kreme"))
0 commit comments