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

Function toUcFirst

tools/eslint-rules/prefer-primordials.js:17–19  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

15}
16
17function toUcFirst(str) {
18 return str[0].toUpperCase() + str.slice(1);
19}
20
21/**
22 * @returns {boolean}

Callers 1

toPrimordialsNameFunction · 0.85

Calls 1

sliceMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…