When I type "node" in my cmd, I can write some js:
but when I run something ("node someapp.js") I can't. But I want to be able to type some js code while js code is running. It is possible? How to do that?
I'd like to access all variables that are created by runned program. The program creates function countToTen() and I will be able to execute this function from command line.