MCPcopy Create free account
hub / github.com/ampproject/amphtml / camelCaseToTitleCase

Function camelCaseToTitleCase

third_party/subscriptions-project/swg.js:3518–3520  ·  view source on GitHub ↗

* @param {string} camelCase camel cased string * @return {string} title cased string

(camelCase)

Source from the content-addressed store, hash-verified

3516 * @return {string} title cased string
3517 */
3518function camelCaseToTitleCase(camelCase) {
3519 return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
3520}
3521
3522/**
3523 * Checks the style if a prefixed version of a property exists and returns

Callers 1

getVendorJsPropertyNameFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected