I have a JS Object
I tried to assign a property
onDeskEquipmentData[EQParasite.id].contentInformation.contentwise[I].thermos = {thermoProp: JSON.parse(JSON.stringify(thermos_data["compound"])),};
note:- variable I is from forEach(function(I){}) loop it iterates inside a array;
It do not assign thermos property on time as in the next line a function named updateTempratureOnShare(EQHost) uses the thermos property throws an error that it don't contain the thermos property. I used console.log() to confirm this and yes it didn't contain that but when I manually checked on my browser's console for onDeskEquipmentData[EQParasite.id].contentInformation.contentwise[I].thermos It was there, I have also used settimeout but it didn't work. This error is comming in some more places.
note:- function updateTempratureOnShare(EQHost) is not inside forEach loop