mirror of https://github.com/01-edu/public.git
docs(pick-omit): fix typo
This commit is contained in:
parent
f88ba67e86
commit
42881f3dee
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
### Instructions
|
### Instructions
|
||||||
|
|
||||||
Create two functions which taken an object and a string or array of strings. They should return a new object which:
|
Create two functions which takes an object and a string or array of strings. They should return a new object which:
|
||||||
- `pick`: contains only those keys which appear in the string or array of strings.
|
- `pick`: contains only those keys which appear in the string or array of strings.
|
||||||
- `omit`: contains only those keys which do not match the string, or do not appear in the array of strings.
|
- `omit`: contains only those keys which do not match the string, or do not appear in the array of strings.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue