dijkstra-backend-cloudron/node_modules/nodejs/1/singleobject.js

15 lines
188 B
JavaScript
Raw Permalink Normal View History

function Hello(){
var name;
this.setName=function(tyname){
name = tyname;
}
this.sayHello = function(){
console.log("Hello"+name);
}
}
module.exports = Hello;