Redeclaring function parameters as variables?
I can't seem to find an answer for this anywhere on the 'Net...

Is there any reason, advantage, or disadvantage to redeclaring function parameters as local variables?

Example:
    function(param1, param2) {
      var param1, param2;
      ...etc...
    }

Seems extremely redundant to me, but maybe I'm missing something...?


Thanks,

Brian

Redeclaring function parameters as variables?
===

I can't seem to find an answer for this anywhere on the 'Net...

Is there any reason, advantage, or disadvantage to redeclaring function parameters as local variables?

Example:
    function(param1, param2) {
      var param1, param2;
      ...etc...
    }

Seems extremely redundant to me, but maybe I'm missing something...?


Thanks,

Brian
