6390eb26dddf6b5896ad23474e1f2352db44bc7b
[platform/framework/web/crosswalk-tizen.git] /
1 'use strict';
2
3 module.exports = {
4         __generic: function (t, a) {
5                 a(t.call(this).length, 3);
6         },
7         "": function (t, a) {
8                 var o, x, y, z;
9                 o = {};
10                 x = [0, 1, "", null, o, false, undefined, true];
11                 y = x.slice(0);
12
13                 a.not(z = t.call(x), x, "Returns different object");
14                 a.deep(x, y, "Origin not changed");
15                 a.deep(z, [0, 1, "", o, false, true], "Result");
16         }
17 };