plotly.js
Version:
The open source javascript graphing library that powers plotly
12 lines (11 loc) • 355 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Return the keys of an object in lexicographic (default `Array.prototype.sort`) order.
*
* @param obj - object whose own enumerable keys will be listed and sorted
*/
function sortObjectKeys(obj) {
return Object.keys(obj).sort();
}
exports.default = sortObjectKeys;