mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 18:52:50 +00:00
15 lines
340 B
JavaScript
15 lines
340 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
__generic: function (t, a) {
|
|
a(t.call(this).length, 3);
|
|
},
|
|
"": function (t, a) {
|
|
var o, x = {}, y = {}, z = {}, w;
|
|
o = [1, 2, x, 3, 1, 'raz', '1', y, x, 'trzy', z, 'raz'];
|
|
|
|
a.not(w = t.call(o), o, "Returns different object");
|
|
a.deep(w, [1, 2, x, 3, 'raz', '1', y, 'trzy', z], "Result");
|
|
}
|
|
};
|