title: js - calling properties of objects
body: <p>If I were to make this object:</p>
  
  <pre><code>var usr = {
      function() {
          usr.name = prompt('What\'s your name?');
          // line 4
          usr.age = prompt('How old are you?');
          // line 6
          usr.clr = prompt('What\'s your favorite color?');
          // line 8
          usr.pref = prompt('Which strain of marijuana is your favorite?');
          // line 10
      }
  </code></pre>
  
  <p>, could I make this function:</p>
  
  <pre><code>function timedLog(p, d) {
      window.setTimeout(function(){
          console.log('Noted. You\'ve chosen: ' + usr.p + '.');
      }, d || 600)
  };
  </code></pre>
  
  <p>?</p>
  
  <p>My main concern is in calling the property: <code>usr.p</code>. I'm assuming the p will be replaced, so I changed my first input (<code>usr.+p+'etc...'</code>) to the aforementioned. Am I correct in assuming this, if I were to call the function as so:</p>
  
  <pre><code>timedLog(clr, 500);
  </code></pre>
  
  <p>? Is this an instance where the <code>this</code> keyword word come into play: <code>this.p</code>?</p>