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.
This commit is contained in:
sagarishere 2023-01-24 15:42:28 +02:00 committed by GitHub
parent 1984891870
commit 4fe9e03a0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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.
> Those functions are pure and must not modify the given object
> It should ignore properties from the prototype chain
### Notions