We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfbff20 commit 4068972Copy full SHA for 4068972
support/types.js
@@ -195,13 +195,6 @@ isWeakSetToString.working = (
195
);
196
function isWeakSet(value) {
197
return isWeakSetToString(value);
198
- if (typeof WeakSet === 'undefined') {
199
- return false;
200
- }
201
-
202
- return isWeakSetToString.working
203
- ? isWeakSetToString(value)
204
- : value instanceof WeakSet;
205
}
206
exports.isWeakSet = isWeakSet;
207
0 commit comments