aboutsummaryrefslogtreecommitdiff
path: root/node_modules/es5-ext/test/object/eq.js
blob: 8cad90aebf9cc72227d35fb8cd221fda3b5acc12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
"use strict";

module.exports = function (t, a) {
	var o = {};
	a(t(o, {}), false, "Different objects");
	a(t(o, o), true, "Same objects");
	a(t("1", "1"), true, "Same primitive");
	a(t("1", 1), false, "Different primitive types");
	a(t(NaN, NaN), true, "NaN");
	a(t(0, 0), true, "0,0");
	a(t(0, -0), true, "0,-0");
};