mirror of
https://gitea.tendokyu.moe/pinapelz/Mirage.git
synced 2026-09-28 01:38:10 +03:00
10 lines
270 B
JavaScript
10 lines
270 B
JavaScript
function _objectWithoutPropertiesLoose(r, e) {
|
|
if (null == r) return {};
|
|
var t = {};
|
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
if (-1 !== e.indexOf(n)) continue;
|
|
t[n] = r[n];
|
|
}
|
|
return t;
|
|
}
|
|
export { _objectWithoutPropertiesLoose as default }; |