Skip to content

Commit 2998518

Browse files
xfieldstimche
authored andcommitted
IE10 does not support Map (#325) (#326)
1 parent 06bf78b commit 2998518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/isMap.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default value => value instanceof Map;
1+
export default value => typeof Map !== 'undefined' && value instanceof Map;

0 commit comments

Comments
 (0)