If you create a global JavaScript variable, it can be easily accessed from the console:
<script>
var minhaVariavel = 0;
<script>
But if I create it like this:
<script>
$(document).ready(function (){
var minhaVariavel = 0;
});
<sctip>
Is it possible to access it at all, or is it really safe?
Home
I need a way of not letting my variable be accessible to the console.