title: javascript: Assign method and string to the same property name
body: <p>I know I'm going to get the people who say I simply shouldn't do this, but I am curious how people accomplish it. </p>
  
  <p>I know I've seen where you can type the name of a property and get one value, but then you add the parenthesis to the end and it accesses a method.</p>
  
  <p>Visually, I'm saying this:</p>
  
  <pre><code>foo returns 'bar'
  foo() performs a function
  </code></pre>
  
  <p>The question is how?</p>