LiveScript
LiveScript copied to clipboard
Changing variables in callbacks doesn't work in REPL
I expect a
to be equal to 2
after I assign it in the callback:
ls> a = 1
1
ls> process.next-tick -> a := 2
undefined
ls> a
1
Am I doing anything wrong?
the REPL has some... scope weirdness