暂无描述

unicode.js 179B

12345678
  1. export default function(x) {
  2. var r = /\\u([\d\w]{4})/gi
  3. x = x.replace(r, function (match, grp) {
  4. return String.fromCharCode(parseInt(grp, 16))
  5. })
  6. return unescape(x)
  7. }