``` // custom-module.js define([], function () { ...
# suitescript
e
Copy code
// custom-module.js
define([], function () {
    function sayHello() {
        console.log("Hello");
    }
    return {
        sayHello: sayHello
    };
});

// entry-point.js
define(["./custom-module"], function (mod) {
    function pageInit() {
        mod.sayHello();
    }
    return {
        pageInit: pageInit
    };
});