UNPKG

braintree-web

Version:

A suite of tools for integrating Braintree in the browser

14 lines (9 loc) 256 B
"use strict"; function enumerate(values, prefix) { prefix = prefix == null ? "" : prefix; return values.reduce(function (enumeration, value) { enumeration[value] = prefix + value; return enumeration; }, {}); } module.exports = enumerate;