tahamajs's picture
download
raw
416 Bytes
import isObject from './isObject.js';
import { hasEnumBug } from './_setup.js';
import collectNonEnumProps from './_collectNonEnumProps.js';
// Retrieve all the enumerable property names of an object.
export default function allKeys(obj) {
if (!isObject(obj)) return [];
var keys = [];
for (var key in obj) keys.push(key);
// Ahem, IE < 9.
if (hasEnumBug) collectNonEnumProps(obj, keys);
return keys;
}

Xet Storage Details

Size:
416 Bytes
·
Xet hash:
709f10262f59ba2cee22920071b7954b2f77ec55101ee51eaf06c244132c21da

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.