I have a array
of this type
my array = [{N:23/*editar el numero 23*/, k:5},{N:11, k:10},{N:89, k:66}]
And I want to change the number 23 to another number without affecting the rest of the object "k: 5"
I do not know what method or command I can use, because if I use the SPLICE
method the whole object is updated and I only want to update the first data of the object without affecting the second one