MV (solved) Can't acces any variable in my javascript plugin

Capture.PNG

Hello,
i'm trying to acces the game variable through a js script but it does not work at all , is there a way for me to do this through script only in one of my plugin or do i have to use the script system in rpg maker ?

the first line shows me the current level of the actor and it does work , but nothing is shown for the second one.
$gameVariables, not gameVariables.
$gameVariables, not gameVariables.
it was an error on the screenshot , even with it , it does not work.
Then please provide an updated screenshot of what you actually have, and of the Console output, because that is the correct function.
I'm stupid,
I was using the file with the same name but in another place on my computer.
Thanks for your answers and your time , have a nice day !
Thread closed

Original thread: https://forums.rpgmakerweb.com/threads/solved-cant-acces-any-variable-in-my-javascript-plugin.154598/