init
This commit is contained in:
11
node_modules/es5-ext/test/string/is-string.js
generated
vendored
Normal file
11
node_modules/es5-ext/test/string/is-string.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = function (t, a) {
|
||||
a(t(null), false, "Null");
|
||||
a(t(""), true, "Empty string");
|
||||
a(t(12), false, "Number");
|
||||
a(t(false), false, "Boolean");
|
||||
a(t(new Date()), false, "Date");
|
||||
a(t(new String("raz")), true, "String object");
|
||||
a(t("asdfaf"), true, "String");
|
||||
};
|
Reference in New Issue
Block a user