title: How can I sum all numbers 1 from a string?
body: <p>I need to sum all numbers 1 from a string!</p>
  
  <p>For example: "00110010" = 1+1+1 = 3...</p>
  
  <p>psum will receive this result and then I will check</p>
  
  <pre><code>if(psum &gt;= 3){
    return person;
  }
  </code></pre>
  
  <p>I need to find a way to solve it in javascript ES6 but I can't use any for, while or forEach loop,  unfortunately!!!</p>
  
  <p>Could you help me?</p>