1.

Consider the following code snippet
function output(n) 
{
for(var v in n)
console.log(v + ": " + n[v] + " n");
}

What will the above code snippet result ?

A. prints only one property
B. Prints the contents of each property of n
C. prints the address of elements
D. Returns undefined
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs