title: How to use the takeWhile function in Javascript?
body: <p>There's a mixin for underscore which has a <code>takeWhile</code> function, you can see it <a href="https://gist.github.com/1222480" rel="nofollow">here</a>, and <a href="https://github.com/JosephMoniz/UnderscoreKit/blob/master/underscorekit.js" rel="nofollow">here</a> (I'm using this one).</p>
  
  <p>How do you use this? </p>
  
  <p><code>takeWhile: function(list, callback, context)</code></p>