MCPcopy
hub / github.com/jquery/esprima / cp

Function cp

tools/generate-xhtml-entities.js:62–68  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

60 var entities = {};
61
62 function cp(n) {
63 var str = n.toString(16).toUpperCase();
64 while (str.length < 4) {
65 str = '0' + str;
66 }
67 return '\'\\u' + str + '\'';
68 }
69
70 collect(function (data) {
71 var codes = [], lines = [];

Callers 1

generateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected