Adding objects to arrays from a function

my Entry object isnt getting any data when every I try to push a new object to my list array.

Can someone tell me what I’m doing wrong?

Codepen

Actually the list is being populated just fine. Move your console.log statement to inside the function. Where it is you’re logging only when the app is first run.

function addToList(){  
  ...
  console.log(list)
}

derp…

i was calling the wrong function. thx man

ok ive been trying to figure this out all night

Why cant I see my objects that have been pushed to the list when I console.log outside of addEntry()?

I want to save them to an array so I can map them to the page but I’m not even sure that they are being saved properly.