增加晶全app静态页面
This commit is contained in:
12
node_modules/es5-ext/object/validate-stringifiable.js
generated
vendored
Normal file
12
node_modules/es5-ext/object/validate-stringifiable.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
|
||||
var isCallable = require("./is-callable");
|
||||
|
||||
module.exports = function (stringifiable) {
|
||||
try {
|
||||
if (stringifiable && isCallable(stringifiable.toString)) return stringifiable.toString();
|
||||
return String(stringifiable);
|
||||
} catch (e) {
|
||||
throw new TypeError("Passed argument cannot be stringifed");
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user