Skip to content

Commit 62e622c

Browse files
committed
Update - convert to UPPER_SNAKE_CASE
1 parent ff0eee9 commit 62e622c

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,8 +15,8 @@
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 convertToUpperCase(sentence) {
18+
function toUpperSnakeCase(sentence) {
1919
return sentence.toUpperCase().replaceAll(" ", "_");
2020

2121
}
22-
console.log(convertToUpperCase("welcome to Chad"));
22+
console.log(toUpperSnakeCase("welcome to Chad"));

0 commit comments

Comments
 (0)