You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Clement Denis 26b3a37cc0 move subjects to folders 4 years ago
..
README.md move subjects to folders 4 years ago

README.md

Quantifiers

Instructions

Create three functions that receive an array and a function each:

  • every that returns true if every element of the array respects the condition of the received function and false otherwise.
  • some that returns true if at least one element of the array respects the condition of the received function and false otherwise.
  • none that returns true if none of the elements of the array respects the condition of the received function and false otherwise.

The use of [].every and [].some is forbidden for this exercise.

Notions

Code provided

all code provided will be added to your solution and doesn't need to be submited.

Array.prototype.some = Array.prototype.every = undefined