src/controller.js
/**
   *Removes a rover from the plateau
   *
   * @param {number} id the id of the rover to remove
   * @memberof RoverController
   */
Removes a rover from the plateau
@param {number} id the id of the rover to remove
@memberof RoverController
Removes a rover from the plateau @param { number } id the id of the rover to remove @memberof RoverController
removeRover (id) {
    if (id < 0 || id >= this.rovers.length) {
      throw new Error('invalid rover id')
    }
    this.rovers.splice(id, 1)
  }
removeRover ( id ) { if ( id < 0 || id >= this . rovers . length ) { throw new Error ( 'invalid rover id' ) } this . rovers . splice ( id , 1 ) }
Removes a rover from the plateau
 @param {number} id the id of the rover to remove
 @memberof RoverController
Removes a rover from the plateau @param { number } id the id of the rover to remove @memberof RoverController