how to check if two numbers differe by more than 1 javascripty code example Example: if between two numbers javascript if (500 < thenumber && thenumber < 600) { // ... }