text: // add whatever parameters you deem necessary
  function separatePositive(array) {
      let endpoint = array.length-1;
      for(let i=0;i<endpoint;i++){
          if(array[i]<0){
              let num = array.splice(i,1);
              array.push(num[0]);
              i--;
              endpoint--;
          }
      }
      return array;
  }
  