Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Because logical operators appear in the order of operators table, they have priority at times, just as the other operators do. Studying the order of operators will show you that the && operator has precedence over the ||. Therefore, the following logic
if (age < 20 || sales < 1200 && hrsWorked > 15) {