Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenEndedGroup/Field2
/ arrayToHash
Function
arrayToHash
lib/web/jshint.js:999–1007 ·
view source on GitHub ↗
(array)
Source
from the content-addressed store, hash-verified
997
998
999
function
arrayToHash(array) {
1000
var
hash = {};
1001
1002
array.forEach(
function
(val, idx) {
1003
hash[val] = true;
1004
});
1005
1006
return
hash;
1007
}
1008
1009
1010
function
formatValue(ctx, value, recurseTimes) {
Callers
1
formatValue
Function · 0.85
Calls
1
forEach
Method · 0.45
Tested by
no test coverage detected