day4.js: move num outside loop to avoid repeated iterations
day4.js: move num outside loop to avoid repeated iterations

robjwells/adventofcode-solutions,robjwells/adventofcode-solutions,robjwells/adventofcode-solutions,robjwells/adventofcode-solutions,robjwells/adventofcode-solutions,robjwells/adventofcode-solutions