Revert "Merge branch 'jest'"

This reverts commit f76e9e108f.
This commit is contained in:
Marvin Gay
2021-05-12 21:47:42 -04:00
parent f76e9e108f
commit ad1c0c407f
45 changed files with 217 additions and 6166 deletions
+5 -2
View File
@@ -1,4 +1,4 @@
# Exercise 03 - Reverse a String
# Exercise 03 - Reverse a String.
Pretty simple, write a function called `reverseString` that returns its input, reversed!
@@ -6,7 +6,10 @@ Pretty simple, write a function called `reverseString` that returns its input, r
reverseString('hello there') // returns 'ereht olleh'
```
You will notice in this exercise that there are multiple tests, after making the first one pass, enable the others one by one by deleting the `.skip` in front the `test.skip()` function.
You will notice in this exercise that there are multiple tests, after making the first one pass, enable the others one by one by deleting the `x` in front of the `it()` function.
## Hints
Strings in JavaScript cannot be reversed directly so you're going to have to split it into something else first.. do the reversal and then join it back together into a string.