joyent/node — Issue #2413: .clear is broken in Node v0.7.0-pre
Author: siddhion
Created: 2011-12-24 16:05:57+00:00
State: open

When I enter `.clear` in the REPL it will print `Clearing context...` but when I test out to see if variables have been cleared I discover they are still there.

~$ node
> var num = 5;
undefined
> var str = "Strings";
undefined
> num
5
> str
'Strings'
> .clear
Clearing context...
> num
5
> str
'Strings'