index.js
/**
 * reject: The function calls upon the element, index, and array. The call back function
 *      will test the element for falsy values. If this condition is met, the element will get pushed into a new array.
 *              
 * 
 * @param {Array} array: any array 
 * @param {function} callback: a function that tests falsy of a value
 * 
 * @return {array}: a new array with the falsy elements in 
 */
The function calls upon the element, index, and array. The call back function
will test the element for falsy values. If this condition is met, the element will get pushed into a new array.

@param {Array} array: any array
@param {function} callback: a function that tests falsy of a value

@return {array}: a new array with the falsy elements in
The function calls upon the element index and array . The call back function will test the element for falsy values . If this condition is met the element will get pushed into a new array . @param { Array } array : any array @param { function } callback : a function that tests falsy of a value @return { array } : a new array with the falsy elements in
function reject(array, callback){
const filterArr = [];
 each(array, function(element, index, array){
      if(!callback(element, index, array)){
          filterArr.push(element);
      }
  })
  return filterArr;
}
function reject ( array , callback ) { const filterArr = [ ] ; each ( array , function ( element , index , array ) { if ( ! callback ( element , index , array ) ) { filterArr . push ( element ) ; } } ) return filterArr ; }
reject: The function calls upon the element, index, and array.
reject : The function calls upon the element index and array .