Javascript objects II


#1

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

this.name = name; 

}

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

#2

function Person(name) {
    this.name = name; 
}

this.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) {
    this.name = personName; 
}

#3

thanks a lot :smile: