Sign in
bazel
/
continuous-integration
/
a0536955f617b399be786d30093188bc9b14c985
/
.
/
actions
/
bcr-pr-review-notifier
/
node_modules
/
@octokit
/
endpoint
/
dist-src
/
util
/
omit.js
blob: aceffe25efc206502a0199cea33af890049b0abc [
file
] [
log
] [
blame
]
function
omit
(
object
,
keysToOmit
)
{
const
result
=
{
__proto__
:
null
};
for
(
const
key of
Object
.
keys
(
object
))
{
if
(
keysToOmit
.
indexOf
(
key
)
===
-
1
)
{
result
[
key
]
=
object
[
key
];
}
}
return
result
;
}
export
{
omit
};