JS Conditional Ternary Operator

 
<!DOCTYPE html>
<html>
<head>
  <title>JavaScript</title>
  <script>
    var a = 100;
    var b;
    b = "Value is " + (a > 10 ? "True" : "False");

    document.write(b);
  </script>
</head>
<body>
</body>
</html>