mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 09:45:04 +00:00
7f1fcb67e5
Summary: NaN is not handled consistently by the bridge in all cases, so detect it and complain. In order to make the complaint more obvious, use JSON.stringify on the value, and a replacer so that some of the censoring which normally takes place doesn't get in the way of clarity. Reviewed By: mmmulani Differential Revision: D9779799 fbshipit-source-id: 6c1a6bfe05ecaa3aeb558acc49dfd54461e1ba74