title: Define get/set in constructor function
body: <p>This can be done:</p>
  
  <pre><code>var o = {
    _foo : "bar",
    get Foo() { return _foo; },
    set Foo(value) { _foo = value; }
  };
  </code></pre>
  
  <p>But my code is defined in a constructor function, so I want something like this:</p>
  
  <pre><code>function Something(defaultFoo) {
    var _foo = defaultFoo;
    get Foo() { return _foo; };               // invalid syntax
    set Foo(value) { _foo = value; };         // invalid syntax
  }
  
  var something = new Something("bar");
  console.log(something.Foo);
  </code></pre>
  
  <p>That syntax is invalid. Is there some variation that works?</p>