console.log( Object )
can cheat you. It won’t show you the state of the Object
in the moment of calling console.log
.
Check this jsFiddle and open the console. You see how the console.log
shows you the state of the Object
at the end of the script and not in the moment of the console.log
call.
For more reliable info call console.log
with simpler values.
(tested is Chrome, Firefox and Safari over OSX)
Read this for more detailed information: Backbone.js Empty Array Attribute