Character with longest consecutive repetition | Codewars 6 kyu | Javascript

Published --