Enhanced the repl library.
authorRayMorgan <rmorgan@zappos.com>
Fri, 25 Sep 2009 01:56:37 +0000 (18:56 -0700)
committerRayMorgan <rmorgan@zappos.com>
Fri, 25 Sep 2009 01:56:37 +0000 (18:56 -0700)
commit6915188a461b455e7112634f7a72612a9c6de54d
tree97ee14c7e445803da9b6628c2b394c73c52fe658
parent2f56ccb45e87510de712f56705598b3b4e3548ec
Enhanced the repl library.

Now supports:
- command options: .help, .break, .clear, .exit
- local vars and global functions
- ability to print 0, false and ""
- when value is a function, prints [Function]
- when object is circular, prints [Circular Object] instead of throwing an error
lib/repl.js