map.js 238 B

123456789
  1. 'use strict';
  2. module.exports = function (t, a) {
  3. var obj = { 1: 1, 2: 2, 3: 3 };
  4. a.deep(t(obj, function (value, key, context) {
  5. a(context, obj, "Context argument");
  6. return (value + 1) + key;
  7. }), { 1: '21', 2: '32', 3: '43' });
  8. };