Web Development — Easy
Key points
- The '+' operator triggers string concatenation if one operand is a string.
- JavaScript automatically coerces types to perform operations.
- Numeric addition only occurs if both operands are numbers.
Ready to go further?
Related questions
