Open gknpezgssb opened 5 years ago
in src/entry-clint.js line 47
... const asyncDataHooks = activated.map(c => c.asyncData).filter(_ => _) ...
in src/store/getters.js line 20
... activeItems (state, getters) { return getters.activeIds.map(id => state.items[id]).filter(_ => _) } ...
what is the purposes of using filter( => )? just get a new array?
it filters out "empty" items (anything that's falsy).
in src/entry-clint.js line 47
in src/store/getters.js line 20
what is the purposes of using filter( => )? just get a new array?