Files
memory-infrastructure-palace/code/scratchpad/javascript/example.js
2026-01-26 16:43:01 -05:00

27 lines
590 B
JavaScript

/**
* Example JavaScript scratchpad file
*
* Use this area to test JavaScript/Node.js code
* This project uses ES modules (import/export)
*/
// Example imports (uncomment to use)
// import fs from 'fs';
// import path from 'path';
// import { someFunction } from './other-file.js';
function helloWorld() {
console.log("Hello from Memory Palace!");
return "Success";
}
// TODO: Add your experimental code here
// Run the example
const result = helloWorld();
console.log(`Result: ${result}`);
// Export for use in other modules
export { helloWorld };
export default helloWorld;