mirror of
https://git.hmsn.ink/kospo/helptalk/api.git
synced 2026-03-20 06:13:35 +09:00
11 lines
242 B
JavaScript
11 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]
|
|
}
|
|
}
|