Version 1
[yaffs-website] / node_modules / babel-runtime / helpers / objectWithoutProperties.js
1 "use strict";
2
3 exports.__esModule = true;
4
5 exports.default = function (obj, keys) {
6   var target = {};
7
8   for (var i in obj) {
9     if (keys.indexOf(i) >= 0) continue;
10     if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
11     target[i] = obj[i];
12   }
13
14   return target;
15 };