Skip to content

Commit 0a4d5aa

Browse files
i changed the single quotes to double quotes in the toUpperSnakeCase function for consistency. As per the guide
1 parent c1bba88 commit 0a4d5aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
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
function toUpperSnakeCase(str){
18-
return str.replaceAll(' ', '_').toUpperCase();
18+
return str.replaceAll(" ", "_").toUpperCase();
1919
}
2020
console.log(toUpperSnakeCase('hello there'));
2121
// The output of the given code is HELLO_THERE

0 commit comments

Comments
 (0)