es6.object.keys.js 225 B

123456789
  1. // 19.1.2.14 Object.keys(O)
  2. var toObject = require('./_to-object');
  3. var $keys = require('./_object-keys');
  4. require('./_object-sap')('keys', function () {
  5. return function keys(it) {
  6. return $keys(toObject(it));
  7. };
  8. });