title: Make all possible combos in a string of numbers with split in javascript?
body: <p>I have an string of numbers "123456" i want to split them in all possible ways.</p>
  
  <p>So</p>
  
  <pre><code>1 23456
  1 2 3456
  1 23 45 6
  1234 5 6
  and so on 
  </code></pre>
  
  <p>What i have tried...</p>
  
  <p>looping over len-1, and splitting on every index, but logically it misses a lot of possible scenarios.</p>