cat-bookmarker/assets/node_modules/babel-runtime/helpers/objectWithoutProperties.js

15 lines
280 B
JavaScript
Raw Permalink Normal View History

2024-03-10 18:52:04 +00:00
"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;
};