Solve Project Euler #5 in Javascript
Well, it works. Better algorithms will be given in the discussion list on the Project Euler site, so I'll just look at JavaScript style.




    for (d = 1; d &lt;=20; d++) {



For consistency, there should be a space in &lt;= 20.




        if (number % d === 0) {
            continue;
        } else {
            return false;
        }



When the code skipped by continue is so short, it's more readable to invert the condition and remove the continue:

        if (number % d !== 0) {
            return false;
        }