We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 498066f commit d543508Copy full SHA for d543508
is-native-implemented.js
@@ -5,5 +5,5 @@
5
6
module.exports = (function () {
7
if (typeof Map === 'undefined') return false;
8
- return (Object.prototype.toString.call(Map.prototype) === '[object Map]');
+ return (Object.prototype.toString.call(new Map()) === '[object Map]');
9
}());
0 commit comments