I know this isn't a huge deal and I could just use underscores, except that I'm positive I did this literally yesterday and now I've no idea how I accomplished it.
I'm trying to create the property "heat index" in the global context object, but I've tried the following to no avail:
var tmp = "heat index"; global.set(tmp,hindex);
What am I missing? Just yesterday I created that context, changed my mind and today I'm trying to change it back, but I have no idea what I did to create it.
I even tried to change the global.json file, replacing the underscore with a space, which caused NodeRED to crash every time it tried to set up.
So now I'm wondering whether I only thought I accomplished that yesterday in my late night delirium and now I'm losing my mind trying to redo what can't be done...