javascript if variable is between two numbers code example Example: if between two numbers javascript if (500 < thenumber && thenumber < 600) { // ... }