UNPKG

204 BJavaScriptView Raw
1import { objectSpread } from './spread.js';
2/**
3 * @name objectCopy
4 * @summary Creates a shallow clone of the input object
5 */
6export function objectCopy(source) {
7 return objectSpread({}, source);
8}