A

Admin • 833K Points
Coach

Q. What is the output?

Code:
console.log(3 > 2 > 1);
  • (A) true
  • (B) false
  • (C) undefined
  • (D) NaN
  • Correct Answer - Option(B)
  • Views: 20
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

3 > 2 is true (1), then 1 > 1 is false.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.