jsDump
jsDump copied to clipboard
Fork of jsDump by Ariel Flesler
Fixes #8 by detecting the `arguments` object using `Object.prototype.toString` instead of testing whether the `callee` property is present. Also covers `arguments` handling by tests (they are the same as the...
Inside the `typeOf` function, the `arguments` object is [detected](https://github.com/NV/jsDump/blob/9e39cf32f3ea31edaca9a6895099fab8ac5ede63/jsDump.js#L83-L84) using the `callee` property: ``` if ( 'callee' in obj ) // Opera: Object.prototype.toString.call(arguments) == 'Object' :( ``` This creates a...
This could be helpful when using jsDump to show object diffs. If you find the opportunity, please update this package on npm. I sent a pull request to mocha (https://github.com/visionmedia/mocha/pull/589)...