If you want a line of JavaScript code to check whether the result of adding 2 to a variable is less than 10, which of the following lines of code does NOT contain a logic error?
(1 point)
• var + 2 < 10
• var + 2 <= 10.
• var + 2 < 10 + 2
• var < 10 + 2
1 answer
var < 10 + 2