#poll
What do you prefer to read:
A:
function foo() { return 1; }
var foo = foo();
or
B:
var foo = foo();
function foo() { return 1; }
Please comment.
#poll
What do you prefer to read:
A:
function foo() { return 1; }
var foo = foo();
or
B:
var foo = foo();
function foo() { return 1; }
Please comment.
A; the order of declarations let's me know that function foo(){...}
is no longer accessible and var foo
has overwritten it
@Qantas94Heavy you are losing scope of the question i'm afraid.