title: does it slow performance to declare parameters in a javascript function if they are not being used
body: <p>I am using a <a href="https://github.com/desandro/draggabilly" rel="nofollow">plugin</a> which monitors the dragging of an element. As the coordinates of the element change when it is dragged, several parameters are made available to an event listener function:</p>
  
  <pre><code>$el.on('dragMove',onDragMove);
  
  onDragMove = function(e,pointer,vector){
    //
  }
  </code></pre>
  
  <p>Is there any performance benefit to removing those parameters if I am not using them within the function:</p>
  
  <pre><code>onDragMove = function(){
    //
  }
  </code></pre>
  
  <p>?</p>