Can anyone one of you tell what is window.g pls
regards
Agastya_Aditya
window
is just an object representing the window in your browser with some built in functions that can be used. Unless Wick sets window.g
to anything then it should naturally be undefined unless you set its value.
Note: if there is no variable name g
then you can access the value of window.g
with just g
1 Like
In javascript there is a global window scope. You can define global variables in thay way so your entire wick app caan read and write them later.
Window.myVar = 0;
When you do something like that, myVar can be read and write from the entire browser tab, Even outside the wick editor.
Back to your question, g is a var defined at the window scope.