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.

17 lines
471 B

  1. 'use strict';
  2. var RequireObjectCoercible = require('es-abstract/2020/RequireObjectCoercible');
  3. var has = require('has');
  4. var callBound = require('call-bind/callBound');
  5. var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
  6. module.exports = function entries(O) {
  7. var obj = RequireObjectCoercible(O);
  8. var entrys = [];
  9. for (var key in obj) {
  10. if (has(obj, key) && $isEnumerable(obj, key)) {
  11. entrys.push([key, obj[key]]);
  12. }
  13. }
  14. return entrys;
  15. };