1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/asn1.js/lib/asn1/constants/index.js

20 lines
347 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
var constants = exports;
// Helper
constants._reverse = function reverse(map) {
var res = {};
Object.keys(map).forEach(function(key) {
// Convert key to integer if it is stringified
if ((key | 0) == key)
key = key | 0;
var value = map[key];
res[value] = key;
});
return res;
};
constants.der = require('./der');