title: Do you have a better idea to simulate coin flip?
body: <p>Right now i have </p>
  
  <pre><code>return 'Heads' if Math.random() &lt; 0.5 
  </code></pre>
  
  <p>Is there a better way to do this? </p>
  
  <p>Thanks</p>
  
  <p>edit: please ignore the return value and "better" means exact 50-50 probability.</p>