Closed donguinesjay closed 6 years ago
const originalFilterFunc = createFilter(this.state.searchTerm, KEYS_TO_FILTERS)
const reversedFilter = function () { return ! originalFilterFunc(arguments) }
const filteredEmails = emails.filter(reversedFilter)
How can I display the data that is not equal to the one that I typed in the input field? just like splicing an array