标签: javascript arrays lodash
以下代码:difference(prevState.sources, this.state.sources) === []返回false,即使difference()返回空数组。为什么会这样,我该如何解决?
difference(prevState.sources, this.state.sources) === []
false
difference()