"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.startWith = void 0;
const Observable_js_1 = require("../Observable.js");
function startWith(...values) {
    return (source) => new Observable_js_1.Observable((destination) => {
        (0, Observable_js_1.subscribeToArray)(values, (0, Observable_js_1.operate)({ destination, complete: () => source.subscribe(destination) }));
    });
}
exports.startWith = startWith;