mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
15 lines
280 B
JavaScript
15 lines
280 B
JavaScript
|
"use strict";
|
||
|
|
||
|
exports.__esModule = true;
|
||
|
|
||
|
exports.default = function (obj, keys) {
|
||
|
var target = {};
|
||
|
|
||
|
for (var i in obj) {
|
||
|
if (keys.indexOf(i) >= 0) continue;
|
||
|
if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
|
||
|
target[i] = obj[i];
|
||
|
}
|
||
|
|
||
|
return target;
|
||
|
};
|