This commit is contained in:
Iliyan Angelov
2025-09-14 23:24:25 +03:00
commit c67067a2a4
71311 changed files with 6800714 additions and 0 deletions

11
frontend/node_modules/underscore/modules/invert.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
import keys from './keys.js';
// Invert the keys and values of an object. The values must be serializable.
export default function invert(obj) {
var result = {};
var _keys = keys(obj);
for (var i = 0, length = _keys.length; i < length; i++) {
result[obj[_keys[i]]] = _keys[i];
}
return result;
}