UNPKG

hardtack

Version:

An ultra-light (373 bytes) library for working with cookies in JavaScript

16 lines (11 loc) 248 B
function merge() { const result = {}; for (let i = 0; i < arguments.length; i++) { const attributes = arguments[i]; for (const key in attributes) { result[key] = attributes[key]; } } return result; } export { merge };