H
H
HardBIT2015-08-22 21:20:18
Node.js
HardBIT, 2015-08-22 21:20:18

How to declare a global variable inside a closure in node js?

How to declare a global variable inside a closure in node js?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Timur Shemsedinov, 2015-08-22
@MarcusAurelius

global.varName = 'value';

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question