Skip to content

Instantly share code, notes, and snippets.

@jezinka

jezinka/day4.js Secret

Created Jun 16, 2017
Embed
What would you like to do?
console logging
for (i = 0; i < checksum.length; i++) {
if (checksum[i] === finall[i]) {
sumId += id[i]
} else {
console.log(checksum[i] + " <> " + finall[i]);
}
}
// 89274 - zły wynik
console.log(sumId);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment