Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JacobLinCool/LeetCode-Stats-Card
/ escape
Function
escape
packages/core/src/item.ts:77–79 ·
view source on GitHub ↗
(str: string)
Source
from the content-addressed store, hash-verified
75
};
76
77
function
escape(str: string): string {
78
return
str.replace(/&/g,
"&"
).replace(/</g,
"<"
).replace(/>/g,
">"
);
79
}
Callers
1
stringify
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected