Lists: Fix RCTJSONStringify Breakage on Infinity
Reviewed By: jingc Differential Revision: D4867026 fbshipit-source-id: dfe98d5012ced80fbe10bf069c58f45d00da388b
This commit is contained in:
parent
a41292d9c4
commit
dd7aa3659d
|
@ -54,7 +54,7 @@ let _sampleRate = null;
|
|||
class FillRateHelper {
|
||||
_getFrameMetrics: (index: number) => ?FrameMetrics;
|
||||
_anyBlankCount = 0;
|
||||
_anyBlankMinSpeed = Infinity;
|
||||
_anyBlankMinSpeed = Number.MAX_SAFE_INTEGER;
|
||||
_anyBlankSpeedSum = 0;
|
||||
_sampleCounts = {};
|
||||
_fractionBlankSum = 0;
|
||||
|
|
Loading…
Reference in New Issue