using multiple return statements in JavaScript

前端 未结 4 1732
忘掉有多难
忘掉有多难 2021-01-16 12:26

I am trying to use multiple returns but just keep breaking the code. I have tried a few examples, but cant find the right combination.

How can I combine these two r

4条回答
  •  臣服心动
    2021-01-16 12:55

    Try returning an array with .status and .timeline as elements. Ok Lix was faster.

提交回复
热议问题