const Person = function (startName) {
let name = ''
const getName = function () {
return name
}
const setName = function (val) {
name = val
}
return {
setName, getName
}
}; // modify this function
const personModule = Person()
personModule.setName('Kotaro')
console.log(personModule.getName())