title: How to get length of string in javascript without using native length method
body: <p>I am working on a practice problem:</p>
  
  <blockquote>
    <p>Return the length of a string without using javascript's native <code>string.length</code> method.</p>
  </blockquote>
  
  <p>The only ways I could think of would be <code>substring</code> or <code>slice</code>, but I'm stumped. </p>