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.

14 lines
305 B

  1. "use strict";
  2. var ensureValue = require("../valid-value");
  3. module.exports = function (object) {
  4. ensureValue(object);
  5. var result = [];
  6. object = Object(object);
  7. for (var key in object) {
  8. if (!propertyIsEnumerable.call(object, key)) continue;
  9. result.push([key, object[key]]);
  10. }
  11. return result;
  12. };