Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var ele = details[i].elements.filter(e => e.name !== null).findIndexPolyfill(e => e.name.includes(query)) == -1;
var cmts = details[i].elements.filter(e => e.cmts !== null).findIndexPolyfill(e => e.cmts.includes(query)) == -1;
if (query && ele){
continue;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment