mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 01:45:15 +00:00
14 lines
447 B
JavaScript
14 lines
447 B
JavaScript
"use strict";
|
|
|
|
module.exports = {
|
|
"__generic": function (t, a) { a.deep(t.call(this, this), []); },
|
|
"": function (t, a) {
|
|
var x = {}, y = {};
|
|
|
|
a.deep(t.call([1, "raz", x, 2, "trzy", y], [x, 2, "trzy"]), [1, "raz", y], "Scope longer");
|
|
a.deep(t.call([1, "raz", x], [x, 2, "trzy", 1, y]), ["raz"], "Arg longer");
|
|
a.deep(t.call([1, "raz", x], []), [1, "raz", x], "Empty arg");
|
|
a.deep(t.call([], [1, y, "sdfs"]), [], "Empty scope");
|
|
}
|
|
};
|