title: override object accessot javascript
body: <p>I would like to override accessor of a javascript object so that instead of override it should return a fixed value.</p>
  
  <p>eg.</p>
  
  <pre><code>var obj = {};
  console.log(obj.someProperty) //will print undefined expected value false
  </code></pre>