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.

10 lines
304 B

  1. var global = require('../internals/global');
  2. var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');
  3. module.exports = function (key, value) {
  4. try {
  5. createNonEnumerableProperty(global, key, value);
  6. } catch (error) {
  7. global[key] = value;
  8. } return value;
  9. };