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

Method append

benchmark/data-min.js:252–255  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

250 this.sourcemapLocations.add(t);
251 }
252 append(t) {
253 if (typeof t != 'string') throw new TypeError('outro content must be a string');
254 return ((this.outro += t), this);
255 }
256 appendLeft(t, e) {
257 if (typeof e != 'string') throw new TypeError('inserted content must be a string');
258 this._split(t);

Callers 1

benchFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected