Calling a function from the same Javascript module

Asked

Viewed 33 times

0

It is possible to somehow reproduce the scenario below?

module.exports = () => ({
    func01: () => {
        console.log(1)
    },

    func02: () => {
        this.func01();
    }
});
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.