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']
На этой странице сайта вы можете посмотреть видео онлайн CodeWars || Split Strings || JavaScript || Code Challenge длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Iuliia Saprykina 04 Январь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 3,154 раз и оно понравилось 46 зрителям. Приятного просмотра!