If I'm using a library in the js file and I have this: const functions = require('function'); //get the required modules exports.func =functions.database.function(ev){...} what is the exports? Im not able to understand it, I know require it lets us use stuff related to the require module in the js file. But what is exports here? The func is a functions defined by me. Thank you for the help!
Submitted January 21, 2018 at 03:32PM by androidjunior
No comments:
Post a Comment