Complete the solution so that it splits the string into pairs of two characters. If the string contains an odd number of characters then it should replace the missing second character of the final pair with an underscore ('_').
Examples:
solution('abc') // should return ['ab', 'c_']
solution('abcdef') // should return ['ab', 'cd', 'ef']
Nesta página do site você pode assistir ao vídeo on-line CodeWars || Split Strings || JavaScript || Code Challenge duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Iuliia Saprykina 04 Janeiro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 3,154 vezes e gostou 46 espectadores. Boa visualização!