fork download
  1. (function () {
  2. var x = 42,
  3. y = 43;
  4. f = function (x) { print(x); return x * 2; };
  5.  
  6. (function () {
  7. var x = f(x);
  8. print(x);
  9.  
  10. var y = f(y);
  11. print(y);
  12. }());
  13. }());
  14.  
  15.  
  16.  
Success #stdin #stdout 0.01s 4984KB
stdin
Standard input is empty
stdout
undefined
NaN
undefined
NaN