fork(1) download
  1. function f() {
  2. var infoGlobal = "bla";
  3. }
  4.  
  5. console.log(infoGlobal);
  6.  
Runtime error #stdin #stdout #stderr 0.07s 31488KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
/home/nj7BD0/prog.js:5
console.log(infoGlobal);
            ^

ReferenceError: infoGlobal is not defined
    at Object.<anonymous> (/home/nj7BD0/prog.js:5:13)
    at Module._compile (internal/modules/cjs/loader.js:799:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:810:10)
    at Module.load (internal/modules/cjs/loader.js:666:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:606:12)
    at Function.Module._load (internal/modules/cjs/loader.js:598:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:862:12)
    at internal/main/run_main_module.js:21:11