Add new values to an object

I have a project that I am doing with nodejs and react, and created an object but I don’t know how to add new values to that object, in such a way that it is like a list, and I tried it this way


let = object = {}

object[name] = Value

But every time I do console.log of the object if it adds it to me, but when I want to add new values it just modifies that object but doesn’t add a new one.

{nombreDelObjeto: 'Value'};

If anyone knows how to make a .Push type to add new values to the object please help me

97 thoughts on “Add new values to an object”

  1. 719281 372025Up to now, you require to term of hire an absolute truck or van and will also be removal equipments to valuable items plus take a look at the new destination. From the long run, which end up with are few items except anxiety moreover stress and anxiety. removals stockport 82868

  2. 316111 760731Aw, it was a actually good post. In concept I need to put in writing comparable to this in addition – spending time and actual effort to manufacture a outstanding article but exactly what do I say I procrastinate alot and no means uncover a strategy to go carried out. 37650