I am interested to know how does the following line of the code work?
var FileStore = require('session-file-store')(session);
I mean what is the meaning of the second prantheses (session)
? How does this syntax work?
I am interested to know how does the following line of the code work?
var FileStore = require('session-file-store')(session);
I mean what is the meaning of the second prantheses (session)
? How does this syntax work?