Index: src/js/collection.js |
diff --git a/src/js/collection.js b/src/js/collection.js |
index a4ae904771a5ee2bcaec7a3cc92d8e7a0ba20905..adb2688618a498d2fa27c656e17d5ed79a23801c 100644 |
--- a/src/js/collection.js |
+++ b/src/js/collection.js |
@@ -17,7 +17,6 @@ var hashCodeSymbol = utils.ImportNow("hash_code_symbol"); |
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) { |
@@ -251,12 +250,6 @@ function SetForEach(f, receiver) { |
} |
} |
- |
-function SetSpecies() { |
- return this; |
-} |
- |
- |
// ------------------------------------------------------------------- |
%SetCode(GlobalSet, SetConstructor); |
@@ -268,8 +261,6 @@ function SetSpecies() { |
%FunctionSetLength(SetForEach, 1); |
-utils.InstallGetter(GlobalSet, speciesSymbol, SetSpecies); |
- |
// Set up the non-enumerable functions on the Set prototype object. |
utils.InstallGetter(GlobalSet.prototype, "size", SetGetSize); |
utils.InstallFunctions(GlobalSet.prototype, DONT_ENUM, [ |
@@ -439,11 +430,6 @@ function MapForEach(f, receiver) { |
} |
} |
- |
-function MapSpecies() { |
- return this; |
-} |
- |
// ------------------------------------------------------------------- |
%SetCode(GlobalMap, MapConstructor); |
@@ -455,8 +441,6 @@ function MapSpecies() { |
%FunctionSetLength(MapForEach, 1); |
-utils.InstallGetter(GlobalMap, speciesSymbol, MapSpecies); |
- |
// Set up the non-enumerable functions on the Map prototype object. |
utils.InstallGetter(GlobalMap.prototype, "size", MapGetSize); |
utils.InstallFunctions(GlobalMap.prototype, DONT_ENUM, [ |