UNPKG

react-router

Version:

A complete routing library for React.js

13 lines (9 loc) 272 B
function withoutProperties(object, properties) { var result = {}; for (var property in object) { if (object.hasOwnProperty(property) && !properties[property]) result[property] = object[property]; } return result; } module.exports = withoutProperties;