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