index.js
/**
 * unique: will return an array with no duplicates
 * 
 * @param {Array} array: an array with duplicates
 * @return {Array}: an new array with the duplicates removed 
 * 
 * 
 */
will return an array with no duplicates

@param {Array} array: an array with duplicates
@return {Array}: an new array with the duplicates removed
will return an array with no duplicates @param { Array } array : an array with duplicates @return { Array } : an new array with the duplicates removed
function unique(array){
const newArr = [];
   each(array, function(element){
if(!(newArr.includes(element))){
newArr.push(element);
 }
}); 
  return newArr;
}
function unique ( array ) { const newArr = [ ] ; each ( array , function ( element ) { if ( ! ( newArr . includes ( element ) ) ) { newArr . push ( element ) ; } } ) ; return newArr ; }
unique: will return an array with no duplicates
unique : will return an array with no duplicates