filter lọc mảng javascript dùng làm search
Last updated
Was this helpful?
Last updated
Was this helpful?
const list = yield select(state => state.task.listTask);
const filteredTask = list.filter(task => task.title.trim().toLowerCase().includes(keyword.trim().toLowerCase()));