twhite96
6/8/2017 - 12:59 AM

Exercism Hello World algorithm solution

Exercism Hello World algorithm solution

var HelloWorld = function() {};

HelloWorld.prototype.hello = function(input) {
//
// YOUR CODE GOES HERE
input = input || "World";
 return "Hello, " + input + "!";
};

module.exports = HelloWorld;