You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cb_SwapCase.js
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,5 @@
1
+
//Using the JavaScript language, have the function SwapCase(str) take the str parameter and swap the case of each character. For example: if str is "Hello World" the output should be hELLO wORLD. Let numbers and symbols stay the way they are.
2
+
1
3
functionSwapCase(str){
2
4
3
5
// code goes here
@@ -14,6 +16,6 @@ function SwapCase(str) {
14
16
15
17
}
16
18
17
-
// keep this function call here
18
-
// to see how to enter arguments in JavaScript scroll down
0 commit comments