title: Using a variable as a hash key in Coffeescript
body: <p>Let's say I have this hash in Coffeescript:</p>
  
  <pre><code>exercises =
    stretchedPrayer:
      name: "Stretched Prayer"
      sound: "28-stretched-prayer"
    bandStretch:
      name: "Band Stretch"
      sound: "13-band-stretch"
  </code></pre>
  
  <p>I can correctly get the name of the first exercise with the following code:</p>
  
  <pre><code>exercises.stretchedPrayer.name
  </code></pre>
  
  <p>What I want to do is call the same name but I will know which exercise I want from a variable extracted from an id on the web page.</p>
  
  <p>In other words, if I have a variable such as </p>
  
  <pre><code>myExercise = "stretchedPrayer"
  </code></pre>
  
  <p>How can I get the name of the practice in the hash just using this variable?</p>