map-keys.js 173 B

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