The announcement is the same as:
var a;
var b;
var c = function() { return 5; };
or almost the same as:
var a;
var b;
function c() { return 5; };
Using (a,b,c)has nothing to do with the declaration, it just returns the last operand, so (a,b,c)()it’s exactly the same as c()(so far, evaluating a and b has no side effects).
source
share