HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/frenchy/www/french-american.org/current/node_modules/locutus/php/strings/chr.js.map
{"version":3,"sources":["../../../src/php/strings/chr.js"],"names":["module","exports","chr","codePt","String","fromCharCode"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,GAAT,CAAcC,MAAd,EAAsB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIA,SAAS,MAAb,EAAqB;AAAE;AACrB;AACA;AACA;AACAA,cAAU,OAAV;AACA,WAAOC,OAAOC,YAAP,CAAoB,UAAUF,UAAU,EAApB,CAApB,EAA6C,UAAUA,SAAS,KAAnB,CAA7C,CAAP;AACD;AACD,SAAOC,OAAOC,YAAP,CAAoBF,MAApB,CAAP;AACD,CAjBD","file":"chr.js","sourcesContent":["module.exports = function chr (codePt) {\n  //  discuss at: http://locutus.io/php/chr/\n  // original by: Kevin van Zonneveld (http://kvz.io)\n  // improved by: Brett Zamir (http://brett-zamir.me)\n  //   example 1: chr(75) === 'K'\n  //   example 1: chr(65536) === '\\uD800\\uDC00'\n  //   returns 1: true\n  //   returns 1: true\n\n  if (codePt > 0xFFFF) { // Create a four-byte string (length 2) since this code point is high\n    //   enough for the UTF-16 encoding (JavaScript internal use), to\n    //   require representation with two surrogates (reserved non-characters\n    //   used for building other characters; the first is \"high\" and the next \"low\")\n    codePt -= 0x10000\n    return String.fromCharCode(0xD800 + (codePt >> 10), 0xDC00 + (codePt & 0x3FF))\n  }\n  return String.fromCharCode(codePt)\n}\n"]}