The mysterious flatMap: cannot flatMap the inner array which is created with new Array(1)

前端 未结 0 1309
挽巷
挽巷 2021-02-18 21:51

I checked the MDN for both flatMap/map but still cannot understand why the third test fails:

  describe("mysterious flatMap", () => {
    it("an         


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