Update includesAll.md
This commit is contained in:
@ -3,7 +3,7 @@ title: includesAll
|
||||
tags: array,beginner
|
||||
---
|
||||
|
||||
Returns `true` if all the elements ιν `values` are included in `arr`, `false` otherwise.
|
||||
Returns `true` if all the elements in `values` are included in `arr`, `false` otherwise.
|
||||
|
||||
Use `Array.prototype.every()` and `Array.prototype.includes()` to check if all elements of `values` are included in `arr`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user