META-INF.resources.webjars.wechat.official-account.1.0.0.js.official-account.js Maven / Gradle / Ivy
function Person(){
this.say = function(){
console.log('hello');
return this;
};
this.run = function(){
console.log('running');
return this;
};
this.walk = function(){
console.log('walking');
return this;
};
this.sleep = function(){
console.log('sleeping');
return this;
}
}
const PersonObj = {
person: new Person(),
say: () => {
person.say();
return person;
}
}