Added Solution (#19367)
Added a solution for the challenge's "Get a Hint" documentation.
This commit is contained in:
committed by
Jonathan Grah
parent
7393ccfba0
commit
1200859c07
@ -75,6 +75,8 @@ console.log(isEveryoneHere(users));
|
||||
<section id='solution'>
|
||||
|
||||
```js
|
||||
// solution required
|
||||
function isEveryoneHere(obj) {
|
||||
return users.hasOwnProperty('Alan', 'Jeff', 'Sarah', 'Ryan');
|
||||
}
|
||||
```
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user