silly me! i thought that assigning data to a variable meant that the data was separate!
app.data = payload // 'payload' is the variable passed from template app.workingData = payload // because i want to mangle the hell out of this one // after mangulation is achieved, reset to original with stored copy: app.workingData = app.data // ...but no. they are BOTH mangulated. WTELF.
yeaah… in this sort of thing, JS is just dumb IMLTHO.
anyway, after some reading, head-scratching, reading some more, i found Lodash’s
.cloneDeep() as well as vanilla
Object.assign(). given that i always seem to smash my shins on weird JS stuff, which of these is best for VueJS that won’t give me grief later? i don’t want to implement one and find out that i have to use the other because my data somehow didn’t ‘copy correctly’…