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

module.exports = function (t, a) {
	a(t(), false);
	a(t(undefined), false);
	a(t(null), false);
	a(t(NaN), true);
	a(t(0), true);
	a(t(false), true);
	a(t("null"), true);
	a(t(""), true);
	a(t({}), true);
	a(t(Object.prototype), true);
};