structuring if else inside of map function reactjs jsx

前端 未结 0 1183
隐瞒了意图╮
隐瞒了意图╮ 2020-12-15 06:21

my question is inside the map function why doesn\'t the else get hit? the if works but the else doesn\'t, console.log(\'hit1) should be hit.

  {wg.array.lengt         


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