Saturday, 13 May 2017

what is the meaning of the module.exports = function(app)?

What is the meaning of the codes:All three lines of code.Please explain.

   module.exports = function(app){

    var x = express.router();
    var y = express.router();
}

Please tell the links to understand these also, as I googled a lot many and read but I have not understood.



via Aditya Jain

No comments:

Post a Comment