Q. Consider the following code snippet.
What will the above code snippet result ?
Code:
function output(n)
{
for(var v in n)
console.log(v + ": " + n[v] + "\n");
}
β
Correct Answer: (D)
Returns undefined