Write a function named halfAndHalf that takes a string as parameter.
The function should return the same string with the first half of the string in lowercase and the second half in uppercase.
text
=Unlock all functions
The first 10 functions are free. Get lifetime access to all 100 with a one-time payment — no subscription.
Upgrade to Pro