every examples fix

pull/48/head
Patrick Njuguna 6 years ago committed by GitHub
parent 6adedd1b7b
commit d781de4977
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -303,11 +303,11 @@ console.log(scoresGreaterEight) //[{name: 'Asabeneh', score: 95}, {name: 'Martha
```js
const names = ['Asabeneh', 'Mathias', 'Elias', 'Brook']
const areAllStr = names.every((name) => typeof name ==='string');
console.log(arrAllStr) // true;
console.log(areAllStr) // true;
```
```js
const areAllTrue = [true, true, true, true]
const bools = [true, true, true, true]
const areAllTrue = bools.every((b)=> {
return b === true;
})
@ -581,4 +581,4 @@ console.log(users); // sorted ascending
🎉 CONGRATULATIONS ! 🎉
[<< Day 8](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/08_Day/08_day_objects.md) | [Day 10 >>](#)
[<< Day 8](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/08_Day/08_day_objects.md) | [Day 10 >>](#)

Loading…
Cancel
Save