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

Function toPrimordialsName

tools/eslint-rules/prefer-primordials.js:13–15  ·  view source on GitHub ↗
(obj, prop)

Source from the content-addressed store, hash-verified

11//------------------------------------------------------------------------------
12
13function toPrimordialsName(obj, prop) {
14 return obj + toUcFirst(prop);
15}
16
17function toUcFirst(str) {
18 return str[0].toUpperCase() + str.slice(1);

Callers 2

getReportNameFunction · 0.85
MemberExpressionFunction · 0.85

Calls 1

toUcFirstFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…