mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 09:08:03 +00:00
12 lines
324 B
JavaScript
12 lines
324 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.objectCopy = objectCopy;
|
|
const spread_js_1 = require("./spread.js");
|
|
/**
|
|
* @name objectCopy
|
|
* @summary Creates a shallow clone of the input object
|
|
*/
|
|
function objectCopy(source) {
|
|
return (0, spread_js_1.objectSpread)({}, source);
|
|
}
|