forked from facebook/hermes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: For any built-in objects whose printing is not specialized, we can prefix its 19.4.2.15 Symbol.toStringTag value to help with disambiguating those objects. This covers cases including Generator, {String, RegExp, Map, Set, Array}Iterator, Math, JSON, etc. They were all printed as an meaningless `{ }` before. Reviewed By: avp Differential Revision: D22631553 fbshipit-source-id: b4536965ff97672e855e02c6afbb9e83054d55ed
- Loading branch information
1 parent
9706e9a
commit a3a5b92
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters