Posts by Junior Rocha • 51 points
1 post
-
4
votes3
answers1067
viewsQ: Index or key in Javascript object
I have this situation: const movies = { 1: { id: 1, name: 'Planet Earth', }, 2: { id: 2, name: 'Selma', }, 3: { id: 3, name: 'Million Dollar Baby', }, What would these numbers be 1, 2 and 3 with two…