Blame view

node_modules/es5-ext/test/array/#/exclusion.js 376 Bytes
aaac7fed   liuqimichale   add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  "use strict";
  
  module.exports = {
  	"__generic": function (t, a) {
  		var x = {};
  		a.deep(t.call(this, this, [this[0], this[2], x]), [x]);
  	},
  	"": function (t, a) {
  		var x = {}, y = {};
  
  		a.deep(t.call([x, y]), [x, y], "No arguments");
  		a.deep(t.call([x, 1], [], []), [x, 1], "Empty arguments");
  		a.deep(t.call([1, "raz", x], [2, "raz", y], [2, "raz", x]), [1, y]);
  	}
  };