MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / escapeFn

Function escapeFn

python/pythonmonkey/builtin_modules/util.js:168–168  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

166];
167
168const escapeFn = (str) => meta[str.charCodeAt(0)];
169
170// Escape control characters, single quotes and the backslash.
171// This is similar to JSON stringify escaping.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected