securityos/node_modules/next/dist/lib/pick.js

19 lines
368 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "pick", {
enumerable: true,
get: function() {
return pick;
}
});
function pick(obj, keys) {
const newObj = {};
for (const key of keys){
newObj[key] = obj[key];
}
return newObj;
}
//# sourceMappingURL=pick.js.map