Tumortisch-Dist/resources/app/node_modules/es5-ext/test/date/is-date.js

11 lines
261 B
JavaScript
Raw Permalink Normal View History

2021-06-15 16:00:08 +02:00
"use strict";
module.exports = function (t, a) {
a(t("arar"), false, "String");
a(t(12), false, "Number");
a(t(true), false, "Boolean");
a(t(new Date()), true, "Date");
a(t(new String("raz")), false, "String object");
a(t({}), false, "Plain object");
};