What will be the step of the interpreter in a jump statement when an exception i
Home | Discussion ForumWhat will be the step of the interpreter in a jump statement when an exception is thrown?
Answer : C
View More Related Question
1) What are the three important manipulations done in a for loop on a loop variable?
View Answer
2) Consider the following code snippet
function printArray(a)
{
var len = a.length, i = 0;
if (len == 0)
console.log("Empty Array");
else
{
do
{
console.log(a[i]);
}
while (++i < len);
}
}
What does the above code result?
View Answer
3) What will happen if the body of a for/in loop deletes a property that has not yet been enumerated?
View Answer
4) Consider the following code snippet
function tail(o)
{
for (; o.next; o = o.next) ;
return o;
}
Will the above code snippet work? If not, what will be the error?
View Answer
5) Consider the following code snippet
function f(o)
{
if (o === undefined)
debugger;
}
What could be the task of the statement debugger?
View Answer