Update includesAll.md

This commit is contained in:
Angelos Chalaris
2020-02-18 17:43:53 +02:00
committed by GitHub
parent 9a5803e7d5
commit 9e2d962cad

View File

@ -3,7 +3,7 @@ title: includesAll
tags: array,beginner 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`. Use `Array.prototype.every()` and `Array.prototype.includes()` to check if all elements of `values` are included in `arr`.