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

Function assign

test/babel.js:57275–57280  ·  view source on GitHub ↗
(target, source)

Source from the content-addressed store, hash-verified

57273 };
57274
57275 function assign(target, source) {
57276 for (var key in source) {
57277 // Note: `hasOwnProperty` is not needed here.
57278 target[key] = source[key];
57279 }
57280 }
57281
57282 function update(item, pattern) {
57283 // TODO: Test if memoizing `pattern` here is worth the effort.

Callers 2

babel.jsFile · 0.85
updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected