项目原始demo,不改动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

10 lines
267 B

  1. // Exports true if environment provides native `Set` implementation,
  2. // whatever that is.
  3. 'use strict';
  4. module.exports = (function () {
  5. if (typeof Set === 'undefined') return false;
  6. return (Object.prototype.toString.call(Set.prototype) === '[object Set]');
  7. }());