Skip to content

Commit

Permalink
Relax native detection
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Nov 10, 2015
1 parent b33f141 commit a1d973f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion is-implemented.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
module.exports = function () {
var set, iterator, result;
if (typeof Set !== 'function') return false;
if (String(Set.prototype) !== '[object Set]') return false;
set = new Set(['raz', 'dwa', 'trzy']);
if (String(set) !== '[object Set]') return false;
if (set.size !== 3) return false;
if (typeof set.add !== 'function') return false;
if (typeof set.clear !== 'function') return false;
Expand Down

0 comments on commit a1d973f

Please sign in to comment.