The datatype of the go() method's parameter is _____.
Let n = 5;
Let con = !(true && false);
If (con || ++n)
{
n += 2;
}
console.log(n);
Output of below code is
<script>
document.write({});
</script>
What does the this keyword refer to in an event handler?
Where do you think the <script> tags should be placed?
What will be the output of the following JavaScript code?
var a=5 , b=1
var obj = { a : 10 }
with(obj)
{
alert(b)
}
What will be the return value of the write() method when the Node cannot write the data immediately and has to buffer it internally?
What is the purpose of using the async attribute in the script
tag?
Identify the correct syntax for correctly parsing XML data using Javascript
What will be the output of the following JavaScript code?
function constfuncs()
{
var funcs = [];
for(var i = 0; i < 10; i++)
funcs[i] = function() { return i; };
return funcs;
}
var funcs = constfuncs();
funcs[5]()