How to iterate over all the properties of an object, convert them in some way and return the converted object?
there is an object like that
"object": { "user": "admin", "date": "14877890", "last": "SKIPPED" } You need to convert date to date and get a new object.
let copy = Object.assign({}, object); copy.date = функция_для_преобразования_даты(copy.date);let copy = Object.assign({}, object); copy.date = функция_для_преобразования_даты(copy.date);? - diraria