您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

shim.js 306B

1234567891011121314
  1. 'use strict';
  2. var getPolyfill = require('./polyfill');
  3. var define = require('define-properties');
  4. module.exports = function shimObjectIs() {
  5. var polyfill = getPolyfill();
  6. define(Object, { is: polyfill }, {
  7. is: function testObjectIs() {
  8. return Object.is !== polyfill;
  9. }
  10. });
  11. return polyfill;
  12. };