Files
lcbp3/frontend/.ignored_node_modules/tailwindcss/src/util/defaults.js
2025-11-27 17:08:49 +07:00

18 lines
361 B
JavaScript

export function defaults(target, ...sources) {
for (let source of sources) {
for (let k in source) {
if (!target?.hasOwnProperty?.(k)) {
target[k] = source[k]
}
}
for (let k of Object.getOwnPropertySymbols(source)) {
if (!target?.hasOwnProperty?.(k)) {
target[k] = source[k]
}
}
}
return target
}