MCPcopy Create free account
hub / github.com/developit/undom / assign

Function assign

src/util.js:1–3  ·  view source on GitHub ↗
(obj, props)

Source from the content-addressed store, hash-verified

1export function assign(obj, props) {
2 for (let i in props) obj[i] = props[i];
3}
4
5export function toLower(str) {
6 return String(str).toLowerCase();

Callers 1

createDocumentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…