Hi! Please help me understand the problem here.
I have this function node:
var Notifications = global.get("Active_Notifications") delete Notifications.RearPumpFail.Acknowledged return;
In my mind, this should not change anything in global context memory. I haven't actually saved the "local" object back to the global context memory, e.g. by doing this:
But it does update global context. When I inject a timestamp into this function, the context explorer sidebar shows the "acknowledged" value disappears. I have nothing connected to the output of the node, it's literally a standalone function node.
Can someone explain why it alters the content of memory even if I haven't "saved" my object back to memory? Is this specific to Node-RED's handling of objects / context, or is it inherent to OO programming in general?