MCPcopy Create free account
hub / github.com/microsoft/SandDance / escapeUserProvidedKey

Function escapeUserProvidedKey

docs/external/js/react.development.js:1015–1017  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

1013 var userProvidedKeyEscapeRegex = /\/+/g;
1014
1015 function escapeUserProvidedKey(text) {
1016 return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');
1017 }
1018
1019 var POOL_SIZE = 10;
1020 var traverseContextPool = [];

Callers 2

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected