mirror of https://github.com/lukechilds/node.git
Browse Source
For classes defined in the module, this is fine. For 'Error' it's probably not very hazardous. However, testing 'Object' and 'String' is much more reliable using typeof, to work with the repl and NODE_MODULE_CONTEXT modes.v0.7.4-release
isaacs
14 years ago
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue