mathiasbynens / punycode.js

A robust Punycode converter that fully complies to RFC 3492 and RFC 5891.
https://mths.be/punycode
MIT License
1.6k stars 159 forks source link

Syntax error in IE 11 #56

Closed Aspedm closed 8 years ago

Aspedm commented 8 years ago

Got error "syntax error punycode.js" in IE 11. string 133: const ucs2encode = array => String.fromCodePoint(...array);

mathiasbynens commented 8 years ago

See the README:

The current version supports recent versions of Node.js only. For the old version that offers the same functionality with broader support, including Rhino, Ringo, Narwhal, and web browsers, see v1.4.1.

Aspedm commented 8 years ago

Yep. It's my mistake.