Index: src/js/collection.js |
diff --git a/src/js/collection.js b/src/js/collection.js |
index 6fe880d91392e39698d531e95e7506c95fdb07fb..a4ae904771a5ee2bcaec7a3cc92d8e7a0ba20905 100644 |
--- a/src/js/collection.js |
+++ b/src/js/collection.js |
@@ -14,14 +14,13 @@ var GlobalMap = global.Map; |
var GlobalObject = global.Object; |
var GlobalSet = global.Set; |
var hashCodeSymbol = utils.ImportNow("hash_code_symbol"); |
-var MathRandom; |
+var MathRandom = global.Math.random; |
var MapIterator; |
var SetIterator; |
var speciesSymbol = utils.ImportNow("species_symbol"); |
var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol"); |
utils.Import(function(from) { |
- MathRandom = from.MathRandom; |
MapIterator = from.MapIterator; |
SetIterator = from.SetIterator; |
}); |