UNPKG
roger-hello-world
Version:
latest (0.0.3)
0.0.3
0.0.2
0.0.1
Hello world from Rogersoft
roger-hello-world
/
index.js
10 lines
(7 loc)
•
217 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
// index.js
// This is the main function of our module
function
sayHello
(
) {
console
.
log
(
"Hello, World!"
); }
// Export the function so it can be used in other files
module
.
exports
= sayHello;