mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
13 lines
370 B
JavaScript
13 lines
370 B
JavaScript
|
"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()), false, "Date");
|
||
|
a(t(new String("raz")), false, "String object");
|
||
|
a(t({}), false, "Plain object");
|
||
|
a(t(/a/), true, "Regular expression");
|
||
|
a(t(new RegExp("a")), true, "Regular expression via constructor");
|
||
|
};
|