Unicode length and reversal

Code reviewHard30 min

Your task

Review this JavaScript that enforces a 10-'character' limit and reverses a string.