1f4beef7eae835dbf9279b2861ca3150b702d3e5
[platform/framework/web/crosswalk-tizen.git] /
1 'use strict';
2
3 module.exports = function (t, a) {
4         var o = { 1: 1, 2: 2, 3: 3 }, o1 = {}
5           , o2 = t(o, function (value, name, self) {
6                 a(self, o, "Self");
7                 a(this, o1, "Scope");
8                 return value + Number(name);
9         }, o1);
10         a.deep(o2, [2, 4, 6]);
11
12         t(o).sort().forEach(function (item) {
13                 a.deep(item, [item[0], o[item[0]]], "Default");
14         });
15 };