10 lines
242 B
JavaScript
10 lines
242 B
JavaScript
// This exists so I'm only saving it once.
|
|
"use strict"
|
|
|
|
var hasOwn = require("./hasOwn")
|
|
|
|
module.exports = Object.assign || function(target, source) {
|
|
for (var key in source) {
|
|
if (hasOwn.call(source, key)) target[key] = source[key]
|
|
}
|
|
}
|