]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/vim-mode/node_modules/grim/node_modules/emissary/node_modules/es6-weak-map/node_modules/es5-ext/test/object/map.js
f9cc09c01b39330e498730067f89247f2a3f80e6
[rbdr/dotfiles] / atom / packages / vim-mode / node_modules / grim / node_modules / emissary / node_modules / es6-weak-map / node_modules / es5-ext / test / object / map.js
1 'use strict';
2
3 module.exports = function (t, a) {
4 var obj = { 1: 1, 2: 2, 3: 3 };
5 a.deep(t(obj, function (value, key, context) {
6 a(context, obj, "Context argument");
7 return (value + 1) + key;
8 }), { 1: '21', 2: '32', 3: '43' });
9 };