map-keys.js 177 B

123456789
  1. "use strict";
  2. module.exports = function (t, a) {
  3. a.deep(t({ 1: 1, 2: 2, 3: 3 }, function (key, value) { return "x" + (key + value); }), {
  4. x11: 1,
  5. x22: 2,
  6. x33: 3
  7. });
  8. };