MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / objectWithoutProperties

Function objectWithoutProperties

code/styling/public/app.js:20120–20130  ·  view source on GitHub ↗
(obj, keys)

Source from the content-addressed store, hash-verified

20118
20119
20120var objectWithoutProperties = function (obj, keys) {
20121 var target = {};
20122
20123 for (var i in obj) {
20124 if (keys.indexOf(i) >= 0) continue;
20125 if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
20126 target[i] = obj[i];
20127 }
20128
20129 return target;
20130};
20131
20132var possibleConstructorReturn = function (self, call) {
20133 if (!self) {

Callers 1

createStyledComponentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected