ExamVeda
Login
Home
This question belongs to Javascript Array And Function
Array and Function
?

Consider the following code snippet
function printprops(o) 
{
  for(var p in o)
  console.log(p + ": " + o[p] + "n");
}
What will the above code snippet result ?

Answer & Solution
Correct Answer: Option B
The above code snippet returns undefined.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.