I'm completely new to JS and trying to learn on my own. Using below code -
var me = {
name: {first:"justin"}
},
name = me.name;
name = {first: "alexis"};
Why would document.write(me.name.first + "</br>");
return justin
?
and
why would document.write(this.name.first);
doesn't return anything?
Please can you explain me?
Thanks, Me