Skip to content

Instantly share code, notes, and snippets.

@jurosh
Created May 15, 2020 10:17
Show Gist options
  • Save jurosh/9f0ae2af57f28337ee19e0bb3a70c1c2 to your computer and use it in GitHub Desktop.
Save jurosh/9f0ae2af57f28337ee19e0bb3a70c1c2 to your computer and use it in GitHub Desktop.
// V1 formatted nicely on more lines...
// V2
return side === 'buy' ? 'Buy' : side === 'sell' ? 'Sell' : 'Unknown';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment