← Back to challenges

Reverse and Capitalize

JavaScriptHardstringsfunctional_programming

Instructions

Create a function that takes a string of lowercase characters and returns that string reversed and in upper case.

Examples

reverseCapitalize("abc") ➞ "CBA"

reverseCapitalize("hellothere") ➞ "EREHTOLLEH"

reverseCapitalize("input") ➞ "TUPNI"

Notes

N/A

javascript
Loading editor…
to run
Walks through the solution with reasoning and edge cases.
Next: Little Dictionary