/*



*/
"use strict";

function say(message,country) {
    return `${message} ${this.fullName}, ${country}はどうですか? !`;
}
const person = {
    fullName: "Tsuyuさん"
};

console.log(say.call(person, "こんにちは","Malaysia")); 



/*
const person = {
  say(message, country){
    return `${message} ${this.fullName}, ${country}はどうですか? !`;
  },
  fullName:"Tsuyuさん"
}
console.log(person.say("Hi","Tokyo"));
console.log(person.fullName);
*/
/*
const person = {
  say:function(message, country){
     return `${message} ${this.fullName}, ${country}はどうですか? !`;
  },
  fullName:"Tsuyuさん"
}

console.log(person.say("Hi","Tokyo"));
*/

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.