How does array.filter work with JSON.stringify in this specific instance?

后端 未结 0 1955
执笔经年
执笔经年 2021-01-15 02:23

I have this code of JavaScript that I don’t actually understand, specifically this line:

const res = arr.filter(item => !store.has(JSON.stringify(item)) ?          


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