Identifying Consecutive Character Groups in JavaScript | CodeSignal Learn