Skip to content

Commit 0a2ff88

Browse files
authored
fix(framework): Remove ES6 code in IE polyfill (#1923)
1 parent af0b912 commit 0a2ff88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/base/src/thirdparty/Map.prototype.keys.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
if (!Map.prototype.keys) {
22
Map.prototype.keys = function() {
3-
const keys = [];
4-
this.forEach((value, key) => {
3+
var keys = [];
4+
this.forEach(function(value, key) {
55
keys.push(key);
66
});
77
return keys;

0 commit comments

Comments
 (0)