map-keys.js 173 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 "use strict"; module.exports = function (t, a) { a.deep(t({ 1: 1, 2: 2, 3: 3 }, function (key, value) { return "x" + (key + value); }), { x11: 1, x22: 2, x33: 3 }); };