Skip to content

Instantly share code, notes, and snippets.

@thiagodelgado111
Last active November 25, 2016 15:24
Show Gist options
  • Save thiagodelgado111/f9aa3121de30ae35c084fb509915fc52 to your computer and use it in GitHub Desktop.
Save thiagodelgado111/f9aa3121de30ae35c084fb509915fc52 to your computer and use it in GitHub Desktop.
eslint complexity rule question
const a = true;
const b = false;
const c = true;
if (a && b && c) {
throw new Error('zomg!');
}
if (a || b || c) {
throw new Error('zomg!');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment