The output will be 2. In JavaScript, when the + operator is used with a number and a boolean, the boolean is converted to a number (true becomes 1, false becomes 0), and then addition is performed. In this case, 1 + true becomes 1 + 1, which equals 2. This is an example of JavaScript's type coercion, where values are automatically converted from one type to another during operations.