Skip to content

Commit 863cbad

Browse files
committed
Fix the name of the function
1 parent 57a0287 commit 863cbad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Sprint-3/3-mandatory-implement/2-cases.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
// Use the MDN string documentation to help you find a solution
1616
// This might help https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toUpperCase
1717

18-
function upperCaseMaker(str) {
18+
function upperSnakeCaseMaker(str) {
1919
let upperCased = str.toUpperCase();
2020
let symbol = "_";
2121
let underscored = upperCased.split(" ").join(symbol);
2222
return underscored;
2323
}
2424

25-
console.log(upperCaseMaker("the sun is shining"));
25+
console.log(upperSnakeCaseMaker("the sun is shining"));

0 commit comments

Comments
 (0)