Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
17
function
toUcFirst(str) {
18
return
str[0].toUpperCase() + str.slice(1);
19
}
20
21
/**
22
* @returns {boolean}
Callers
1
toPrimordialsName
Function · 0.85
Calls
1
slice
Method · 0.65
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…