summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/escope/node_modules/es6-weak-map/node_modules/es5-ext/test/object/is-object.js
blob: 72c8aa6daf4a3ac0b32e3949cf86ff72a8de2b57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict';

module.exports = function (t, a) {
	a(t('arar'), false, "String");
	a(t(12), false, "Number");
	a(t(true), false, "Boolean");
	a(t(null), false, "Null");
	a(t(new Date()), true, "Date");
	a(t(new String('raz')), true, "String object");
	a(t({}), true, "Plain object");
	a(t(/a/), true, "Regular expression");
	a(t(function () {}), true, "Function");
};