title: What does the colon (:) in JavaScript represent?
body: <p>This is probably a stupid noob question but what does the : represent in the following context:</p>
  
  <pre><code>var stuffToDo = {
      'bar' : function() {
          alert('the value was bar -- yay!');
      },
  
      'baz' : function() {
          alert('boo baz :(');
      },
  
      'default' : function() {
          alert('everything else is just ok');
      }
  };
  
  if (stuffToDo[foo]) {
      stuffToDo[foo]();
  } else {
      stuffToDo['default']();
  }
  </code></pre>
  
  <p>Is it storing the function to each of those variables?</p>