Which one of the following options is the correct output for the given code of JavaScript?
function code(id,name)
{
this.id= id;
this.name= name;
}
functionpcode(id,name)
{
code.call(this,id,name);
}
document.writeln(newpcode(004,"James Deo").id);
a) James Deo
b) compilation error
c) runtime error
d) undefined