Javascript objects II


while creating a new constructor function in javascript 
function Person(name) { = name; 


Here which name refers to the one passed as argument in Person
this.**name** = name
or = **name**


function Person(name) { = name; 
} is name property of object that you are creating, name after = is the name passed as argument.
Maybe this example will help you:

function Person(personName) { = personName; 


thanks a lot :smile: