Reverse and Capitalize

Published by Kenny Fraser in

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

Watch a quick demo on how Edabit works.