code: function hiraganaToKatakana(str) {
    if (!hasKana(str)) {
      return str;
    }
    return str.split('').map(charCodeToKatakana).join('');
  }
docs: Replace any Hiragana character with the matching Katakana
  
  @param {string} str
  @output {string}