jscritic icon indicating copy to clipboard operation
jscritic copied to clipboard

Function parameters as unused variables

Open Untit1ed opened this issue 10 years ago • 0 comments

in the following example, variable 'a' shouldn't be marked as unused:

   bar.foo(function (a, callback){
         callback();
   });

Yes, technically it's unused, but there's no way it can be removed.

Untit1ed avatar Sep 19 '14 21:09 Untit1ed