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.

11 lines
437 B

  1. var path = require('../internals/path');
  2. var has = require('../internals/has');
  3. var wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');
  4. var defineProperty = require('../internals/object-define-property').f;
  5. module.exports = function (NAME) {
  6. var Symbol = path.Symbol || (path.Symbol = {});
  7. if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, {
  8. value: wrappedWellKnownSymbolModule.f(NAME)
  9. });
  10. };