UNPKG

marko

Version:

UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.

17 lines (13 loc) 296 B
"use strict"; var attrs = require("./attrs"); /** * Merges attribute objects into a object. */ module.exports = function mergeAttrs() { var len = arguments.length; var result = {}; for (var i = 0; i < len; i++) { Object.assign(result, attrs(arguments[i])); } return result; };