MCPcopy Create free account
hub / github.com/RubyLouvre/anu / arrayToHash

Function arrayToHash

test/babel.js:10796–10804  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

10794 }
10795
10796 function arrayToHash(array) {
10797 var hash = {};
10798
10799 array.forEach(function (val, idx) {
10800 hash[val] = true;
10801 });
10802
10803 return hash;
10804 }
10805
10806 function formatValue(ctx, value, recurseTimes) {
10807 // Provide a hook for user-specified inspect functions.

Callers 1

formatValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected