Question

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

Answers

There are no human answers yet.
Answered by GPT 3.5
var < 10 + 2

Related Questions