(input)
| 3062 | return output.join(""); |
| 3063 | }; |
| 3064 | var toUnicode = function(input) { |
| 3065 | return mapDomain(input, function(string) { |
| 3066 | return regexPunycode.test(string) ? decode(string.slice(4).toLowerCase()) : string; |
| 3067 | }); |
| 3068 | }; |
| 3069 | var toASCII = function(input) { |
| 3070 | return mapDomain(input, function(string) { |
| 3071 | return regexNonASCII.test(string) ? "xn--" + encode3(string) : string; |
nothing calls this directly
no test coverage detected
searching dependent graphs…