MCPcopy Create free account
hub / github.com/breck7/scroll / replaceAll

Method replaceAll

external/.tableSearch.js:36–38  ·  view source on GitHub ↗
(str, search, replace)

Source from the content-addressed store, hash-verified

34 else this.uriEncodedString = this.objectToEncodedString(patchInput)
35 }
36 replaceAll(str, search, replace) {
37 return str.split(search).join(replace)
38 }
39 objectToEncodedString(obj) {
40 return Object.keys(obj)
41 .map(identifierCell => {

Callers 1

constructorMethod · 0.95

Calls 2

splitMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected