Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ escapeComment
Function
escapeComment
lib/internal/test_runner/reporter/junit.js:29–31 ·
view source on GitHub ↗
(s = '')
Source
from the content-addressed store, hash-verified
27
}
28
29
function
escapeComment(s =
''
) {
30
return
RegExpPrototypeSymbolReplace(/--/g, s,
'--'
);
31
}
32
33
function
treeToXML(tree) {
34
if
(typeof tree ===
'string'
) {
Callers
1
treeToXML
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected