mirror of https://github.com/jkjoy/sunpeiwen.git
10 lines
225 B
JavaScript
10 lines
225 B
JavaScript
|
// 19.1.2.14 Object.keys(O)
|
||
|
var toObject = require('./_to-object');
|
||
|
var $keys = require('./_object-keys');
|
||
|
|
||
|
require('./_object-sap')('keys', function () {
|
||
|
return function keys(it) {
|
||
|
return $keys(toObject(it));
|
||
|
};
|
||
|
});
|