We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75f7994 commit 1b215b8Copy full SHA for 1b215b8
1 file changed
Sprint-2/3-mandatory-implement/2-cases.js
@@ -5,6 +5,11 @@
5
6
// Implement a function that:
7
8
+function upperSnakeCase(srt){
9
+ return srt.toUpperCase().replaceAll(" ", "_")
10
+}
11
+console.log(upperSnakeCase("hello there"))
12
+
13
// Given a string input like "hello there"
14
// When we call this function with the input string
15
// it returns the string in UPPER_SNAKE_CASE, so "HELLO_THERE"
0 commit comments