Advertisement
Guest User

Untitled

a guest
Jul 27th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. console.log("hello");
  2.  
  3. for (i=2000; i > 0; i--) {
  4. if (i % 2 !== 0 && i % 3 !== 0 && i % 4 !== 0 && i % 5 !== 0 && i % 6 !== 0 && i & 7 !== 0 && i % 8 !== 0 && i%9 !== 0) {
  5. console.log(i)
  6. }
  7. }
  8.  
  9. // look for the largest number in console
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement