mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 14:16:34 +09:00
13 lines
231 B
JavaScript
13 lines
231 B
JavaScript
// Hello World function
|
|
function helloWorld() {
|
|
console.log("Hello, World!");
|
|
}
|
|
|
|
// Export for use in other modules
|
|
module.exports = { helloWorld };
|
|
|
|
// Run if called directly
|
|
if (require.main === module) {
|
|
helloWorld();
|
|
}
|