| Index: src/collection.js
|
| diff --git a/src/collection.js b/src/collection.js
|
| index a1342a373322b79e85a811fd72aee463161bd99c..24952b4155ecfa316e5ba08f31b3dd5b842c618e 100644
|
| --- a/src/collection.js
|
| +++ b/src/collection.js
|
| @@ -96,7 +96,7 @@ function SetUpSet() {
|
|
|
| %SetCode($Set, SetConstructor);
|
| %FunctionSetPrototype($Set, new $Object());
|
| - %SetProperty($Set.prototype, "constructor", $Set, DONT_ENUM);
|
| + %AddProperty($Set.prototype, "constructor", $Set, DONT_ENUM);
|
|
|
| %FunctionSetLength(SetForEach, 1);
|
|
|
| @@ -207,7 +207,7 @@ function SetUpMap() {
|
|
|
| %SetCode($Map, MapConstructor);
|
| %FunctionSetPrototype($Map, new $Object());
|
| - %SetProperty($Map.prototype, "constructor", $Map, DONT_ENUM);
|
| + %AddProperty($Map.prototype, "constructor", $Map, DONT_ENUM);
|
|
|
| %FunctionSetLength(MapForEach, 1);
|
|
|
|
|