public/subjects/quantifiers
davhojt 885ce248a6 docs(quantifiers): correct grammar 2022-06-15 23:34:59 +03:00
..
README.md docs(quantifiers): correct grammar 2022-06-15 23:34:59 +03:00

README.md

Quantifiers

Instructions

Create these functions which receive an array and a function each. Each element will return true if

  • every: every element in the array respects the condition of the function.
  • some: that returns true if at least one element in the array respects the condition of the function.
  • none: that returns true if none of the elements in the array respects the condition of the function.

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

Code provided

The provided code will be added to your solution, and does not need to be submitted.

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

Notions