Get variable value

I try to make this work and that did't work for unknow undefined error. Any idea?
Basicly I try to read from javascript the value inside the variable number 1.


$gameVariables.setValue(472,$gameVariables.Value(1));



Also with the new update, I did't see where I ned to click for solved.
Should be: $gameVariables.setValue(472, $gameVariables.value(1)); //note the lowercase value
Should be: $gameVariables.setValue(472, $gameVariables.value(1)); //note the lowercase value
Thanks it's work. And how Did I mark you as best anwser?

Original thread: https://forums.rpgmakerweb.com/threads/get-variable-value.74385/