utils.js 205 B

123456789
  1. 'use strict';
  2. const internals = {};
  3. exports.keys = function (obj, options = {}) {
  4. return options.symbols !== false ? Reflect.ownKeys(obj) : Object.getOwnPropertyNames(obj); // Defaults to true
  5. };