Skip to content

Instantly share code, notes, and snippets.

@resilience-me
Last active August 29, 2015 14:05
Show Gist options
  • Save resilience-me/f5028c18934c6cb81285 to your computer and use it in GitHub Desktop.
Save resilience-me/f5028c18934c6cb81285 to your computer and use it in GitHub Desktop.
dividend limit
// filtering with IOU symbol, negative balance, and dividend limit
lines = lines.filter(function(element){ return (element.balance < 0 && element.currency === IOU && element.filled === false); });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment