Perlito5 - js - refactor split()