(c)
| 2505 | } |
| 2506 | |
| 2507 | function fromCodePoint(c) { |
| 2508 | /*eslint no-bitwise:0*/ |
| 2509 | if (c > 0xffff) { |
| 2510 | c -= 0x10000; |
| 2511 | var surrogate1 = 0xd800 + (c >> 10), |
| 2512 | surrogate2 = 0xdc00 + (c & 0x3ff); |
| 2513 | |
| 2514 | return String.fromCharCode(surrogate1, surrogate2); |
| 2515 | } |
| 2516 | return String.fromCharCode(c); |
| 2517 | } |
| 2518 | |
| 2519 | var NAMED_ENTITY_RE = /&([a-z#][a-z0-9]{1,31});/gi; |
| 2520 | var DIGITAL_ENTITY_TEST_RE = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i; |
no outgoing calls
no test coverage detected