MCPcopy Index your code
hub / github.com/getify/Functional-Light-JS / setProp

Function setProp

ch11-code/fp-helpers.js:111–115  ·  view source on GitHub ↗
(name,obj,val)

Source from the content-addressed store, hash-verified

109}
110
111function setProp(name,obj,val) {
112 var o = Object.assign( {}, obj );
113 o[name] = val;
114 return o;
115}
116
117function unboundMethod(methodName,argCount = 2) {
118 return curry(

Callers 2

addStockNameFunction · 0.85
formatStockNumbersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected