JavaScript | JavaScript Operators | Question 8

Last Updated :
Discuss
Comments

What is the output of this ternary operation?

JavaScript
const value = 10; 
console.log(value > 5 ? "Yes" : "No");


Yes

No

Error

Undefined

Share your thoughts in the comments