"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.extract = void 0;
const foreach_js_1 = require("./foreach.js");
function extract(src, keys) {
    const out = {};
    (0, foreach_js_1.forEach)(src, (k, v) => {
        out[k] = v;
    }, keys);
    return out;
}
exports.extract = extract;
