Say I have an object which assigns properties based off the return value of a function:
var i = 0; var f = function() { return ++i; } var foo = {
Assignment is always in order. It is just the way the code is found, interpreted and executed.