MCPcopy Create free account
hub / github.com/messageformat/messageformat / e

Function e

docs/scripts/prettify/prettify.js:12–17  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

10 }
11
12 function e(a) {
13 if (a < 32) return (a < 16 ? "\\x0" : "\\x") + a.toString(16);
14 a = String.fromCharCode(a);
15 if (a === "\\" || a === "-" || a === "[" || a === "]") a = "\\" + a;
16 return a
17 }
18
19 function h(a) {
20 for (var f = a.substring(1, a.length - 1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g), a = [], b = [], o = f[0] === "^", c = o ? 1 : 0, i = f.length; c < i; ++c) {

Callers 7

hFunction · 0.70
BFunction · 0.70
DFunction · 0.70
atFunction · 0.70
dtFunction · 0.70
ytFunction · 0.70
jquery.min.jsFile · 0.70

Calls 3

BFunction · 0.70
CFunction · 0.70
hFunction · 0.70

Tested by

no test coverage detected