Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mrinank-Bhowmick/python-beginner-projects
/ nl
Function
nl
web/src/components/Playground.tsx:95–95 ·
view source on GitHub ↗
(s: string)
Source
from the content-addressed store, hash-verified
93
}
94
95
const nl = (s: string) => s.replace(/\r?\n/g,
"\r\n"
);
96
97
const clamp = (v: number, lo: number, hi: number) =>
98
Math.max(lo, Math.min(hi, v));
Callers
1
Playground
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected