title: Javascript comments on same line as code: yes or no?
body: <p>So here's some code I've written in Javascript:</p>
  
  <pre><code>var panRate = 120; //Max speed of the camera
  var panAccelerate = 0.01; //Amount speed increases each frame
  var panDecelerate = 1.05; //Amount speed is divided by each frame
  </code></pre>
  
  <p>Is that kosher, putting the comments on the same line as the code? Firefox and Chrome don't seem to be having any problems with it, but does that have the potential to break certain browsers?</p>