MCPcopy
hub / github.com/mozilla/source-map / toArray

Method toArray

lib/array-set.js:96–98  ·  view source on GitHub ↗

* Returns the array representation of this set (which has the proper indices * indicated by indexOf). Note that this is a copy of the internal array used * for storing the members so that no one can mess with internal state.

()

Source from the content-addressed store, hash-verified

94 * for storing the members so that no one can mess with internal state.
95 */
96 toArray() {
97 return this._array.slice();
98 }
99}
100exports.ArraySet = ArraySet;

Callers 6

constructorMethod · 0.45
sourcesMethod · 0.45
applySourceMapMethod · 0.45
_serializeMappingsMethod · 0.45
toJSONMethod · 0.45
test-array-set.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected