One of my colleagues suggested me to declare variables on the top of file like
var a,b,c,d;
// or
var a=1,b=1,c=1,d=1;
instead of
var a=1;
//some code
var b =1;
//some code
var c=1;
//some code
var d=1;
saying that it impacts JS performance.
Does it really make any difference?