title: How to spyOn a value property (rather than a method) with Jasmine
body: <p>Jasmine's <code>spyOn</code> is good to change a method's behavior, but is there any way to change a value property (rather than a method) for an object? the code could be like below:</p>
  
  <pre><code>spyOn(myObj, 'valueA').andReturn(1);
  expect(myObj.valueA).toBe(1);
  </code></pre>