You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the undefined value bar does not exist in the output of JSON.stringify, while it is null in the output of stringifyAsync.
Expected behavior
Since the documentation of stringifyAsync does not list any specific behaviour, I would have expected it to have the same behaviour as JSON.stringify and to not include keys with value undefined in the serialized string.
Environments
Tested on node 18.15.0 on Linux and Chrome 112.0.5615.138 on Windows