Server IP : 162.213.251.212 / Your IP : 3.21.104.128 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/allssztx/www/easybuyer/node_modules/es-abstract/2019/ |
Upload File : |
'use strict'; var GetIntrinsic = require('get-intrinsic'); var $TypeError = GetIntrinsic('%TypeError%'); var callBound = require('call-bind/callBound'); var $charCodeAt = callBound('String.prototype.charCodeAt'); var $numberToString = callBound('Number.prototype.toString'); var $toLowerCase = callBound('String.prototype.toLowerCase'); var $strSlice = callBound('String.prototype.slice'); // https://262.ecma-international.org/9.0/#sec-unicodeescape module.exports = function UnicodeEscape(C) { if (typeof C !== 'string' || C.length !== 1) { throw new $TypeError('Assertion failed: `C` must be a single code unit'); } var n = $charCodeAt(C, 0); if (n > 0xFFFF) { throw new $TypeError('`Assertion failed: numeric value of `C` must be <= 0xFFFF'); } return '\\u' + $strSlice('0000' + $toLowerCase($numberToString(n, 16)), -4); };