Created
March 4, 2018 20:48
-
-
Save scionwest/d24b0f21c88b5e1749f89a038e48de11 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var difference = new Set(existingIntegers); | |
for(var index = 0; index < downloadedIntegers.length; index++) { | |
if (!existingIntegers.has(downloadedIntegers[index])) { | |
difference.push(downloadedIntegers[index]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment