Using the module.exports export module, how to call each other between internally defined functions

for example, now use the module.exports export module in a test.js file

test.js
module.exports = {
    funcA(){

    },
    funcB(){
        this.funcA();
    }
}

two methods, funcA and funcB, are defined internally. Now you want to call the funcA method in funcB and use thish to point to funcA but report an error. What is the reason?
what is the correct way to write if you want to call funcA,?


module.exports = {
    funcA(){

    },
    funcB(){
        exports.funcA();
    }
}
Menu