schangxiang@126.com
2025-09-19 0821aa23eabe557c0d9ef5dbe6989c68be35d1fe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
"use strict";
 
module.exports = {
    "__generic": function (t, a) {
        var count = 0, self;
 
        self = Object(this);
        a.deep(t.call(self, function (v, i, scope) {
            a(v, this[i], "Value");
            a(i, count++, "Index");
            a(scope, this, "Scope");
            return i;
        }, self), { 0: [this[0]], 1: [this[1]], 2: [this[2]] });
    },
    "": function (t, a) {
        var r;
        r = t.call([2, 3, 3, 4, 5, 6, 7, 7, 23, 45, 34, 56],
            function (v) {
                return v % 2 ? "odd" : "even";
            });
        a.deep(r.odd, [3, 3, 5, 7, 7, 23, 45]);
        a.deep(r.even, [2, 4, 6, 34, 56]);
    }
};