MCPcopy Create free account
hub / github.com/codrops/RainEffect / Dict

Function Dict

demo/js/main.js:1519–1529  ·  view source on GitHub ↗
(iterable)

Source from the content-addressed store, hash-verified

1517});
1518
1519function Dict(iterable){
1520 var dict = $.create(null);
1521 if(iterable != undefined){
1522 if(isIterable(iterable)){
1523 forOf(iterable, true, function(key, value){
1524 dict[key] = value;
1525 });
1526 } else assign(dict, iterable);
1527 }
1528 return dict;
1529}
1530Dict.prototype = null;
1531
1532function reduce(object, mapfn, init){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected