MCPcopy
hub / github.com/mgechev/javascript-algorithms / get

Function get

src/searching/binarysearch.js:5–5  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

3
4 function id (val) { return val; }
5 function get (key) { return function (val) { return val[key]; }; }
6
7 /**
8 * Searches for specific element in a given array using

Callers 1

binarySearchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected