blank-white-cards/apps/bwc_web/assets/static/bwc.old/user.js
2020-12-28 14:35:10 -08:00

27 lines
391 B
JavaScript
Executable File

class Person {
constructor() {
this.id = 'id_1';
}
set username(username) {
this._username = username;
}
get username() {
return this._username;
}
sayHello() {
console.log('Hello, my name is ' + this.username);
}
}
module.exports = {
foo: function () {
return "foo";
},
bar: function () {
return "bar";
}
};
var moot = function () {
}