How to loop in javascript until condition is met and add the results to an array?

后端 未结 0 470
忘了有多久
忘了有多久 2021-01-07 15:36

I need to push two key/value pairs to an array based on the different conditions.

Condition for the first key/value: only paragraph starting with the

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