(key, value)
| 9415 | } |
| 9416 | |
| 9417 | function stripComplexValues(key, value) { |
| 9418 | if (typeof value !== 'object' || Array.isArray(value) || value == null) { |
| 9419 | return value; |
| 9420 | } |
| 9421 | var prototype = Object.getPrototypeOf(value); |
| 9422 | if (!prototype || prototype === Object.prototype) { |
| 9423 | return value; |
| 9424 | } |
| 9425 | return '<not serializable>'; |
| 9426 | } |
| 9427 | |
| 9428 | // This implementation of ReactPerf is going away some time mid 15.x. |
| 9429 | // While we plan to keep most of the API, the actual format of measurements |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…