MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / removeEscapeSequences

Function removeEscapeSequences

lib/web/jshint.js:14329–14333  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

14327 }.bind(this);
14328
14329 function removeEscapeSequences(id) {
14330 return id.replace(/\\u([0-9a-fA-F]{4})/g, function(m0, codepoint) {
14331 return String.fromCharCode(parseInt(codepoint, 16));
14332 });
14333 }
14334
14335 char = getIdentifierStart();
14336 if (char === null) {

Callers 1

jshint.jsFile · 0.85

Calls 2

parseIntFunction · 0.85
replaceMethod · 0.80

Tested by

no test coverage detected