Chromium Code Reviews| Index: lib/runtime/dart_utils.js |
| diff --git a/lib/runtime/dart_utils.js b/lib/runtime/dart_utils.js |
| index 70555c729187a9577eebf25ccaff6bb7a202332b..a1c2bf9762b48b8a6ebae02a67a503018c3b7306 100644 |
| --- a/lib/runtime/dart_utils.js |
| +++ b/lib/runtime/dart_utils.js |
| @@ -113,7 +113,7 @@ var dart_utils = |
| show = getOwnNamesAndSymbols(from); |
| } |
| if (hide != void 0) { |
| - var hideMap = new Map(hide); |
| + var hideMap = new Set(hide); |
|
vsm
2015/08/07 18:20:33
John - does this look right? I was hitting an err
Jennifer Messerly
2015/08/07 18:52:59
oh my gosh, good catch, it was supposed to be Set.
|
| show = show.filter((k) => !hideMap.has(k)); |
| } |
| return copyTheseProperties(to, from, show); |