my-idlers/node_modules/es5-ext/test/object/map-keys.js

10 lines
177 B
JavaScript
Raw Normal View History

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