Skip to content

Instantly share code, notes, and snippets.

@asci
Last active September 10, 2015 07:34
Show Gist options
  • Save asci/0cedff1da12c208605b1 to your computer and use it in GitHub Desktop.
Save asci/0cedff1da12c208605b1 to your computer and use it in GitHub Desktop.
Arrow functions problem
const test = 0;
let superLongValue = 'other value';
const someObject = {};
someObject.methodB = test >= superLongValue + 'text';
someObject.otherMethodC = test => superLongValue = test;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment