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
@@ -30,6 +42,9 @@ function reverseCharacters(arrayTest1) {
30
42
// 4. Return the reversed number.
31
43
// 5. Be sure to print the result returned by the function to verify that your code works for both strings and numbers. Do this before moving on to the next exercise.
32
44
45
+
console.log(reverseCharacters(num1));
46
+
console.log(reverseCharacters(num2));
47
+
33
48
// Part Three: Complete Reversal
34
49
35
50
// 1. Define and initialize an empty array.
@@ -39,6 +54,18 @@ function reverseCharacters(arrayTest1) {
39
54
// 5. Return the final, reversed array.
40
55
// 6. Be sure to print the results from each test case in order to verify your code.
0 commit comments