Q. Which one of the following options is the correct output for the given code of JavaScript?
Code:<script>
functionprintprops(o)
{
for(var ain o)
console.log(a+": "+ o[a]+"\n");
}
</script>
β
Correct Answer: (D)
Returns undefined