Index: lib/runtime/dart/js.js |
diff --git a/lib/runtime/dart/js.js b/lib/runtime/dart/js.js |
index 5dd7385b585b5d89139320735f4c71c389e891ed..2461e10b851700281921ebfd92dc397b8d132fdc 100644 |
--- a/lib/runtime/dart/js.js |
+++ b/lib/runtime/dart/js.js |
@@ -48,8 +48,8 @@ dart_library.library('dart/js', null, /* Imports */[ |
if (dart.is(o, core.Map)) { |
let convertedMap = {}; |
_convertedObjects.set(o, convertedMap); |
- for (let key of o.keys) { |
- convertedMap[key] = _convert(o.get(key)); |
+ for (let key of o[dartx.keys]) { |
+ convertedMap[key] = _convert(o[dartx.get](key)); |
} |
return convertedMap; |
} else if (dart.is(o, core.Iterable)) { |