UNPKG

notifyjs

Version:

A handy wrapper for the Web Notifications API

11 lines (9 loc) 235 B
export 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; })