Hello,
If for example i create this variable:
app.info = 1;
The user can see that variable with console ?
Hello,
If for example i create this variable:
app.info = 1;
The user can see that variable with console ?
yes (read & write).
the role is pretty simple:
if the browser can read your code, then everybody can read your code.
there are infinite ways to get your variable,
here is the easiest:
go to => Framework7
and open console:
const f7 = document.getElementById('app').f7;
console.log(f7); // output: Framework7-instance
f7.info = 2;
console.log('info =>',f7.info); // output: info => 2
I guess the question is, are you wanting to see the variable in the console, or are you wanting the value variable to be entirely hidden from the user?