We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 919d4a7 commit 0740b9bCopy full SHA for 0740b9b
is-map.js
@@ -7,6 +7,6 @@ var toStringTagSymbol = require('es6-symbol').toStringTag
7
, Global = (typeof Map === 'undefined') ? null : Map;
8
9
module.exports = function (x) {
10
- return (x && ((Global && (x instanceof Global)) ||
+ return (x && ((Global && ((x instanceof Global) || (x === Global.prototype))) ||
11
(toString.call(x) === id) || (x[toStringTagSymbol] === 'Map'))) || false;
12
};
0 commit comments