initial commit
This commit is contained in:
14
node_modules/nodejs/1/singleobject.js
generated
vendored
Normal file
14
node_modules/nodejs/1/singleobject.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
function Hello(){
|
||||
var name;
|
||||
this.setName=function(tyname){
|
||||
name = tyname;
|
||||
|
||||
}
|
||||
this.sayHello = function(){
|
||||
console.log("Hello"+name);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Hello;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user