Question: What will produce output for the following JavaScript code:<script>
var x="10">3
document.write(x);
</script>
A
B
C
D
null
B
true
C
false
D
syntax error
Note: Not available
<script> var x="10">3 document.write(x); </script>
var alpha="apples"; var beta="Apples"; var output=alpha>beta; document.write(output);
var alpha=(15<20) && ("pen">"Sword"); var beta=("big">"tall") && (20<30); document.write(alpha+","+beta);
var alpha=5<<1; document.write(alpha);
a=1 b=1 c=0 d=0 document.write(a^b); document.write(","); document.write(a^c); document.write(","); document.write(c^d);
var alpha=3*4+7 var beta=3*(4+7) document.write(alpha+","+beta);
var BidA="33"; var BidB="24" document.write(Math.max(BidA,BidB));
a=2 b=3 a>b?alert("It is true"):alert("Not true");B
a=2 b=3 if(a>b)alert("It is true")else alert("Not true")
var counter=50; while(counter>15){ counter-=5; } document.write(counter);