3.
Question for today 📚
4. What will be the output of the following JavaScript code snippet?
<p id="demo"></p>
var txt1 = "Sanfoundry_";
var txt2 = "Javascriptmcq";
document.getElementById("demo").innerHTML = txt1 txt2;
a) error
b) Sanfoundry_Javascriptmcq
c) undefined