Musique/node_modules/es5-ext/test/object/map-keys.js

9 lines
177 B
JavaScript

"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
});
};