title: Wrong behaviour in Google Chrome Object.defineProperty?
body: <p>I am trying to create an object with setters and getters, and this is my code:</p>
  
  <pre><code>var Player = function(height){
      var _height = height;
  
      Object.defineProperty(this, 'height', {
        enumerable: false
      , configurable: true
      , writable: false
      , get: function(){return _height;}
      , set: function(val){_height = val;}
      });
  }
  </code></pre>
  
  <p>var myPlayer = new Player(10);</p>
  
  <p>Even though the <code>writable</code> property of the defineProperty options is set to false, I get the following error:</p>
  
  <p><code>Invalid property.  A property cannot both have accessors and be writable or have a value, #&lt;Object&gt;</code> </p>
  
  <p>The same is happening when the <code>writable</code> is set to true of course, but the error disappears if I remove the <code>writable</code> line.</p>
  
  <p>Am I doing something wrong, or is this a bug? This is happening on Google Chrome, Version 30.0.1599.66</p>