You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
563 B

## Pick Omit
4 years ago
### Instructions
Create a `pick` function that takes an object and keys.
This function create a new object that pick only the keys, in the second argument, from the object passed as argument.
4 years ago
Create a `omit` function that takes an object and keys.
This function create a new object that omit only the keys, in the second argument, from the object passed as argument.
> Those functions are pure and must not modify the given object
4 years ago
### Notions
- [devdocs.io/javascript/global_objects/object](https://devdocs.io/javascript/global_objects/object)