项目原始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
263 B

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