MCPcopy Create free account
hub / github.com/btholt/algorithms-exercises / get

Method get

specs/arrays/arraylist.solution.test.js:35–37  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

33 return ans;
34 }
35 get(index) {
36 return this.data[index];
37 }
38 delete(index) {
39 const ans = this.data[index];
40 this._collapseTo(index);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected