Snippet format update
To match the starter (for the migration)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
### omit
|
||||
---
|
||||
title: omit
|
||||
tags: object,array,intermediate
|
||||
---
|
||||
|
||||
Omits the key-value pairs corresponding to the given keys from an object.
|
||||
|
||||
@ -14,4 +17,4 @@ const omit = (obj, arr) =>
|
||||
|
||||
```js
|
||||
omit({ a: 1, b: '2', c: 3 }, ['b']); // { 'a': 1, 'c': 3 }
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user