Skip to content

Instantly share code, notes, and snippets.

@treeform
Created April 13, 2018 22:18
Show Gist options
  • Save treeform/77b8b92f2cab7cf321198ef82d123fdd to your computer and use it in GitHub Desktop.
Save treeform/77b8b92f2cab7cf321198ef82d123fdd to your computer and use it in GitHub Desktop.
Should I do?
if (`b`.length > `a`.length) {
return -`b`[`a`.length];
}
vs
if (`b`.length > `a`.length) {
return -1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment