MCPcopy Index your code
hub / github.com/jsdoc/jsdoc / prototypeToPunc

Function prototypeToPunc

lib/jsdoc/name.js:72–79  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

70}
71
72function prototypeToPunc(name) {
73 // don't mangle symbols named "prototype"
74 if (name === 'prototype') {
75 return name;
76 }
77
78 return name.replace(/(?:^|\.)prototype\.?/g, SCOPE.PUNC.INSTANCE);
79}
80
81// TODO: docs
82/**

Callers 2

name.jsFile · 0.85
atomizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…