MCPcopy Create free account
hub / github.com/codemix/htmling / hex

Function hex

lib/parser.js:952–952  ·  view source on GitHub ↗
(ch)

Source from the content-addressed store, hash-verified

950 function buildMessage(expected, found) {
951 function stringEscape(s) {
952 function hex(ch) { return ch.charCodeAt(0).toString(16).toUpperCase(); }
953
954 return s
955 .replace(/\\/g, '\\\\')

Callers 1

stringEscapeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected