UNPKG

353 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.objectCopy = void 0;
4const spread_js_1 = require("./spread.js");
5/**
6 * @name objectCopy
7 * @summary Creates a shallow clone of the input object
8 */
9function objectCopy(source) {
10 return (0, spread_js_1.objectSpread)({}, source);
11}
12exports.objectCopy = objectCopy;