mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2024-12-23 14:13:47 +01:00
10 lines
260 B
JavaScript
10 lines
260 B
JavaScript
/* */
|
|
var $ = require("./$"),
|
|
assertObject = require("./$.assert").obj;
|
|
module.exports = function ownKeys(it) {
|
|
assertObject(it);
|
|
var keys = $.getNames(it),
|
|
getSymbols = $.getSymbols;
|
|
return getSymbols ? keys.concat(getSymbols(it)) : keys;
|
|
};
|