Skip to content

Instantly share code, notes, and snippets.

@joshvasquez
Created December 3, 2018 01:31
Show Gist options
  • Save joshvasquez/05bbb470a6aaee469d81d1898a5669ac to your computer and use it in GitHub Desktop.
Save joshvasquez/05bbb470a6aaee469d81d1898a5669ac to your computer and use it in GitHub Desktop.
loop1: for (let k = 0; k < boxID.length - 1; k++) {
for (let l = 1; l < boxID.length - 1; l++) {
newDiff = findDiff(boxID[k], boxID[l])
if (newDiff.diff === 1) {
smallestDiff = newDiff
break loop1
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment