Browse Source

docs(pick-omit): fix typo

pull/1901/head
Michele Sessa 1 year ago committed by Dav Hojt
parent
commit
42881f3dee
  1. 2
      subjects/pick-omit/README.md

2
subjects/pick-omit/README.md

@ -2,7 +2,7 @@
### 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.
- `omit`: contains only those keys which do not match the string, or do not appear in the array of strings.

Loading…
Cancel
Save