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