web 3d图形渲染器
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.

9 lines
380 B

  1. var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');
  2. var redefine = require('../internals/redefine');
  3. var toString = require('../internals/object-to-string');
  4. // `Object.prototype.toString` method
  5. // https://tc39.es/ecma262/#sec-object.prototype.tostring
  6. if (!TO_STRING_TAG_SUPPORT) {
  7. redefine(Object.prototype, 'toString', toString, { unsafe: true });
  8. }