In Safari with no add-ons (and actually most other browsers), console.log will show the object at the last state of execution, not at the state when conso
console.log
conso
What I usually do if I want to see it's state at the time it was logged is I just convert it to a JSON string.
console.log(JSON.stringify(a));