MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / prependRight

Method prependRight

benchmark/data.js:73–75  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

71 this.outro = content + this.outro;
72 }
73 prependRight(content) {
74 this.intro = content + this.intro;
75 }
76 split(index) {
77 const sliceIndex = index - this.start;
78 const originalBefore = this.original.slice(0, sliceIndex);

Callers 2

indentMethod · 0.45
prependRightMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected