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 = {
Yes, you are guaranteed that a will be 1, b will be 2, etc. Each f() will be interpreted in the order you wrote them.
f()