Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
filter out emails that were send by the user
const others = json.filter(j => j.user !== j['from'].email);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment