forked from Fediversity/fediversity.eu
10 lines
205 B
JavaScript
10 lines
205 B
JavaScript
|
'use strict';
|
||
|
|
||
|
const internals = {};
|
||
|
|
||
|
|
||
|
exports.keys = function (obj, options = {}) {
|
||
|
|
||
|
return options.symbols !== false ? Reflect.ownKeys(obj) : Object.getOwnPropertyNames(obj); // Defaults to true
|
||
|
};
|