summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/test/array/#/uniq.js
blob: 2f7e6c4ed1feb599f27a29c63af4000d8af92895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'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");
	}
};