1.0.2 • Published 2 years ago
javascript-hello-world v1.0.2
js-npm-hello-world
Npm package to append message to "Hello World" text
Implementation
test.js
const HelloWorld = require('javascript-hello-world/helloworld');
const obj = new HelloWorld("This is a sample message");
console.log(obj.getMessage());
Output
Execution : node test
Hello world!! This is a sample message