Browse Source

Condition in tests but not in task description

I have added the condition that was not included in the task description but was included in the tests.
also __proto__ is  a non standard property.
It maybe good to mention as the first test usually fails just because it is not mentioned to ignore the properties from the prototype chain.
pull/1760/head
sagarishere 2 years ago committed by GitHub
parent
commit
4fe9e03a0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      subjects/pick-omit/README.md

1
subjects/pick-omit/README.md

@ -7,6 +7,7 @@ Create two functions which taken an object and a string or array of strings. The
- `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.
> Those functions are pure and must not modify the given object > Those functions are pure and must not modify the given object
> It should ignore properties from the prototype chain
### Notions ### Notions

Loading…
Cancel
Save