MCPcopy Index your code
hub / github.com/nodejs/node / code

Function code

deps/v8/test/mjsunit/char-escape.js:36–38  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

34}
35
36function code(str) {
37 return str.charCodeAt(0);
38}
39
40// Do the single escape chars have the right value?
41assertEquals(0x08, code("\b"));

Callers 5

executeCodeFunction · 0.70
executeCodeFunction · 0.70
char-escape.jsFile · 0.70
assertThrowsFunction · 0.50
assertDoesNotThrowFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…