mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-23 07:03:26 +03:00
ab6c6d959d
- Δημιουργία script για παραγωγή documention του κώδικα - Μικρές διορθώσεις
15 lines
345 B
JavaScript
15 lines
345 B
JavaScript
/**
|
|
* An example of a server-side JavaScript module.
|
|
* @module hello/world
|
|
* @example
|
|
* var g = require('hello/world').sayHello('Gracie');
|
|
*/
|
|
|
|
/**
|
|
* Generate a greeting.
|
|
* @param {string} [subject="world"] To whom we greet.
|
|
* @returns {string}
|
|
*/
|
|
exports.sayHello = function(subject) {
|
|
return 'Hello ' + (subject || 'World');
|
|
};
|