I need to clone some objects from the resultset after a wix-data query to a new array of objects.
So I have 2 alternatives:
a)assigning every key:value pair to a new var holding the same data, then, when all fields done, do object.assign and then .push it to an array
b) use lodash cloneDeep
My question: which would be quicker?
P.S: the well-known trick JSON.parse/stringify won´t work, resultset holds many dates.