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

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -