Which one of the following options is the correct output for the given code of JavaScript?
<script>
functionprintprops(o)
{
for(var ain o)
console.log(a+": "+ o[a]+"\n");
}
</script>
a) Prints the contents of each property of o
b) Prints the address of elements
c) Prints only one property
d) Returns undefined