react-native/Libraries/vendor/core
Riley Dulin 85505fdd3e Fix map polyfill to use a deterministic key for the hash
Summary:
Prepack does not understand how to use a random key as an object property. Instead, at build time, it generates a deterministic property name based on a deterministic seed for `Math.random()`.

Prepack would like to move away from this, and keep all the `Math.random()` unevaluated and left in the bundle.

Since this is the only usage of `Math.random()` that can't be handled by the abstract interpreter, it should be changed.

Note that the randomness is not required here at all, it just has to be *some* unique key.

Reviewed By: davidaurelio

Differential Revision: D9882757

fbshipit-source-id: 21c213db9716d2faeb8745d811a620b088a83781
2018-09-17 15:02:24 -07:00
..
ErrorUtils.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Map.js Fix map polyfill to use a deterministic key for the hash 2018-09-17 15:02:24 -07:00
Set.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
_shouldPolyfillES6Collection.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
getObjectValues.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
guid.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
guid.js.flow Setup /RKJSModules/Marketplace directory structure + extracting MarketplaceRelayQueryConstants and dependencies 2018-08-02 08:32:34 -07:00
isEmpty.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
merge.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
mergeHelpers.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
mergeInto.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
toIterator.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
whatwg-fetch.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00