im using the following code in a node application and I got error when I call to _valdations function, I want that _vali will be "private" like (I know that this is not supported native with JS,what is the recomended way to do so ? the vali function should be not exposed outside (just use for internal ...)
module.exports = {
        fileAction: function (req, res, urlPath) {
           ....
                  _validations(config, req, res);
        },
        _vali: function (config, req, res) {
          do some validations
        },
    };
 
    