Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- [Fix] differentiate -0 from 0 (#8) - [Robustness] cache `Object.prototype.toString` - [Performance] avoid recreating `lowbyte` function every time - [Performance] check for primitive types as early as possible. - [Robustness] use `typeof` instead of comparing to literal `undefined` - [Refactor] explicitly coerce Error objects to strings - [Refactor] remove unneeded `else`s - [Refactor] consolidate wrapping logic for boxed primitives into a function - [Refactor] consolidate Map/Set notations. - [Refactor] split up `var` declarations for debuggability - [Refactor] move object key gathering into separate function - [Tests] up to `node` `v7.7`, `v6.10`, `v5.12`, `v4.8`; improve test matrix - [Tests] ensure that this function remains anonymous, despite ES6 name inference. - [Dev Deps] update `tape`
- Loading branch information