JS name of Global Object
Unsolved
General and Desktop
-
wrote on 18 Oct 2019, 16:57 last edited by
On Qt side one can obtain a reference to the JS global Object used in script using QJSEngine::globalObject().
I would need the actual JS name of it from inside a script.
It is not window neither the more newly introduced universal name globalThis.
In other words how can I refer, inside a script, to a global say myVar (a property o the Global Object) using xxxx. myVar or xxx["myVar"] and not just myVar?
Many Thanks...!!!
1/1