Down integrate to GitHub (#6893)
diff --git a/js/map.js b/js/map.js
index ab852e4..589a293 100644
--- a/js/map.js
+++ b/js/map.js
@@ -208,14 +208,14 @@
}
};
-
if (typeof(Symbol) != 'undefined') {
-/** @override */
-jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator] = function() {
- return this;
-};
+ /** @override */
+ jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator] = function() {
+ return this;
+ };
}
+
/**
* Returns the map's length (number of key/value pairs).
* @return {number}