title: Prevent js editing in console
body: <p>Basically what the title says. I'm making a game and most of it is in js. My concern is that the player stats are all just variables in its object and they are easy to change in the browser console(e.g. player.hitpoints = 1000;).</p>
  
  <p>Is there any way to hide certain objects/variables from being editable in the browser console?</p>