Json – How to change data in array with object which was copied?
I'm beginner in JS Can you help me with simple question, pls? e.g. I have array such as: const array = [{ id: 1, name: 'Ferrari', type: 'F40', price: '350 000$', country: 'Italy' }]; How could I copy this array…