Closed catloversg closed 1 month ago
When the player prints Promise objects, those objects are serialized into {}. This may be confusing in some cases. This PR adds a special case in argsToString to handle this situation.
{}
argsToString
Closes #1706.
Before:
After:
Adding a replacer also gives us a hook to add printing for Sets/Maps if we want to add that later.
When the player prints Promise objects, those objects are serialized into
{}
. This may be confusing in some cases. This PR adds a special case inargsToString
to handle this situation.Closes #1706.
Before:
After: