title: Printing letter by letter of a string in javascript
body: <p>On my homework, I am asked to print a string this way:</p>
  
  <pre><code>// string = 'zuckerberg'
  // z
  // zu
  // zuc
  // zuck
  // zucke
  // zucker
  // zuckerb
  // zuckerbe
  // zuckerber
  // zuckerberg
  </code></pre>
  
  <p>Is there a simple way to do it just using simple methods?
  Couldn't find a good method so far.</p>
  
  <p>Thank you!!!</p>