JavaScript algorithms: find starting and ending indices of consecutively repeated chars from a string

前端 未结 0 392
[愿得一人]
[愿得一人] 2021-01-06 13:10

I wanted to function a function that does this:

const input =“hellooooloo”;
const results = getRepeated(input);
console         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题