Skip to content
This repository has been archived by the owner on Aug 1, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
John Stein committed Jul 16, 2019
2 parents 185c9ae + 6505319 commit f389e15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ I want to easily log any object in string format like
There are two un-helpful things about `JSON.stringify()`.

1. It throws an error if your object has circular references.
2. It doesn't include properties that aren't enumerable.
2. It doesn't include properties that aren't enumerable
(so you can't easily log `Error` and other such objects).

Another thing I don't like about `JSON.stringify()` is the
[replacer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#The_replacer_parameter)
Expand Down

0 comments on commit f389e15

Please sign in to comment.