Closed briancodes closed 4 years ago
:herb:
LGTM. Anyone else, @ramda/ramda-docs? @ramda/core?
@briancodes: I'm sorry this one was allowed to languish. There hasn't been a lot of work on Ramda lately. I will try to rectify this over the next few months, and although GitHub won't let me reopen this because the repo was deleted, I will try to look at the commits soon. I think this makes sense.
Currently the
console.log
in the Ramda Repl displaysundefined
asnull
in arrays, and doesn't display object properties that have a value ofundefined
. The global propertiesNaN
andInfinity
are also displayed asnull
in arrays and objects.This has caught me out a few times - so I thought I'd have a go at putting in a fix! Will close #49
Example of problem from the Repl
I added a
replacer
function to theJSON.stringify
method oflogger.js
- which covers common properties thatJSON.stringify
doesn't support. Updated the tests, and all passing (although two unrelated tests intermittently fail - this this is being addressed in PR #57 I think)