how to find a number lies between two numbers in js code example Example: if between two numbers javascript if (500 < thenumber && thenumber < 600) { // ... }