Say I have a object hierarchy like so:
Expand|Select|Wrap|Line Numbers
- let obj = {
- instance_id: "<some uuid>"
- child1:
- {
- child2:
- {
- function log() => console.log(instance_id);
- }
- }
- }
Cant store as static (objects are from classes) due to multiple instances of this object.
Would really appreciate some ideas on this. Thanks in advance.