javascript - what does (**variable) mean in node.js? -


at https://www.airpair.com/javascript/node-js-tutorial see haven't seen before:

var gzip = zlib.creategzip(); var readstream = fs.createreadstream(**filename); // current file var writestream = fs.createwritestream(**dirname + '/out.gz'); 

what ** mean in ...(**filename); , ...(**dirname ...);? thank you

it's typo in tutorial.

var gzip = zlib.creategzip(); var readstream = fs.createreadstream(__filename); // current file var writestream = fs.createwritestream(__dirname + '/out.gz'); 

they globals in node


Comments

Popular posts from this blog

javascript - Trigger mouseenter when an animated element touches mouse -

json - Zend error Connection -

java - Using Spring @Transactional with a combination of readOnly and write, when does this entity get committed? -