showing results for - "ex 3ajava script"
Lara
13 Jun 2017
1
2var person = {
3    fullName: function(city, country) {
4        return this.firstName + " " + this.lastName  + "," + city + "," + country;
5    }
6}
7var person1 = {
8    firstName:"John",
9    lastName: "Doe",
10}
11 person.fullName.call(person1, "Oslo", "Norway"); 
12
13