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.

15 lines
305 B

4 years ago
"use strict";
var ensureValue = require("../valid-value");
module.exports = function (object) {
ensureValue(object);
var result = [];
object = Object(object);
for (var key in object) {
if (!propertyIsEnumerable.call(object, key)) continue;
result.push([key, object[key]]);
}
return result;
};