-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined
is logged as null
#347
Comments
It's converted to null when JSON stringified. It would be nice to fix that, but it's a low-priority task currently. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I tried to search and see if this is intended/documented, but I couldn't find any issue that mentioned it.
When I log
undefined
, it comes out asnull
like this:Output in my terminal:
This happens in both 4.4.8 and 5.0.0-beta.16.
Any explanation for this or is it a bug? It threw me for a real loop trying to debug something. 😵💫
I made this electron fiddle if you want to test it easily: https://gist.github.com/stefansundin/18ab5af281e820ce15927e126df8712d
Thanks!
The text was updated successfully, but these errors were encountered: