8 lines
134 B
JavaScript
8 lines
134 B
JavaScript
var name;
|
|
exports.setName = function(tyname){
|
|
name = tyname;
|
|
};
|
|
|
|
exports.sayHello = function(){
|
|
console.log("Hello"+name);
|
|
}; |