Opal-Estate-Pro/node_modules/es5-ext/test/object/map-keys.js

10 lines
177 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
"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
});
};