KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The below first logs 0 , and then logs 1 . How do I store a copy of the object, rather than a reference to it? debug.log(vi.details.segment); vi.nextSegment = vi.details; vi.nextSegment.segment++; debug.log(vi.details.segment);
Tags (comma-separated)
Save Edits
Cancel